UNPKG

@nestjs/swagger

Version:

OpenAPI for NestJS: generate the API document from controllers and decorators, serve Swagger UI, and derive request types with mapped types.

6 lines (5 loc) • 265 B
import { Type } from '@nestjs/common'; export declare const exploreGlobalApiSecurityMetadata: (metatype: Type<unknown>) => { security: any; }; export declare const exploreApiSecurityMetadata: (instance: object, prototype: Type<unknown>, method: object) => any;