UNPKG

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.

10 lines (9 loc) 252 B
import { IInput, ISwaggerDefinition } from '../interfaces'; export declare const getParameters: (swagger: ISwaggerDefinition, input?: IInput) => { in: string; name: string; required: boolean; schema: { $ref: string; }; }[];