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.

8 lines (7 loc) • 266 B
import { OpenAPIObject } from './open-api-spec.interface.js'; import { SwaggerUiOptions } from './swagger-ui-options.interface.js'; export interface SwaggerUIInitOptions { swaggerDoc: OpenAPIObject; customOptions: SwaggerUiOptions; swaggerUrl: string; }