@nestjs/swagger
Version:
OpenAPI for NestJS: generate the API document from controllers and decorators, serve Swagger UI, and derive request types with mapped types.
26 lines (25 loc) • 749 B
TypeScript
export declare const DECORATORS_PREFIX = "swagger";
export declare const DECORATORS: {
API_OPERATION: string;
API_RESPONSE: string;
API_PRODUCES: string;
API_CONSUMES: string;
API_TAGS: string;
API_WEBHOOK: string;
API_CALLBACKS: string;
API_PARAMETERS: string;
API_HEADERS: string;
API_MODEL_PROPERTIES: string;
API_MODEL_PROPERTIES_ARRAY: string;
API_MODEL_PROPERTY_HIDDEN: string;
API_MODEL_PROPERTY_EXPLICIT_OPTIONS: string;
API_SECURITY: string;
API_EXCLUDE_ENDPOINT: string;
API_INCLUDE_ENDPOINT: string;
API_EXCLUDE_CONTROLLER: string;
API_EXTRA_MODELS: string;
API_EXTENSION: string;
API_SCHEMA: string;
API_DEFAULT_GETTER: string;
API_LINK: string;
};