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.

2 lines (1 loc) • 102 B
export declare function ApiOAuth2(scopes: string[], name?: string): ClassDecorator & MethodDecorator;