@namecheap/tsoa-cli
Version:
Build swagger-compliant REST APIs using TypeScript and Node
5 lines (4 loc) • 388 B
TypeScript
import * as ts from 'typescript';
import { Tsoa } from '@namecheap/tsoa-runtime';
export declare function getParameterValidators(parameter: ts.ParameterDeclaration, parameterName: any): Tsoa.Validators;
export declare function getPropertyValidators(property: ts.PropertyDeclaration | ts.TypeAliasDeclaration | ts.PropertySignature | ts.ParameterDeclaration): Tsoa.Validators | undefined;