no-hassle
Version:
Makes Node.js route handling easy with support for [Joi schema](https://github.com/hapijs/joi) validation and automatic Swagger generation based on these schema definitions. Uses Expressjs routing mechanism.
7 lines (6 loc) • 331 B
TypeScript
import * as Joi from '@hapi/joi';
export declare const errorSchema: Joi.ObjectSchema;
export declare const badRequestErrorSchema: Joi.ObjectSchema;
export declare const unauthorizedErrorSchema: Joi.ObjectSchema;
export declare const notFoundErrorSchema: Joi.ObjectSchema;
export declare const unknownErrorSchema: Joi.ObjectSchema;