UNPKG

@namecheap/tsoa-cli

Version:

Build swagger-compliant REST APIs using TypeScript and Node

6 lines (5 loc) 402 B
import { Tsoa } from '@namecheap/tsoa-runtime'; import * as ts from 'typescript'; export declare function getParameterValidators(parameter: ts.ParameterDeclaration, parameterName: string): Tsoa.Validators; export declare function getPropertyValidators(property: ts.Node): Tsoa.Validators | undefined; export declare function shouldIncludeValidatorInSchema(key: string): key is Tsoa.SchemaValidatorKey;