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.

13 lines (12 loc) • 227 B
export const buildDocumentBase = () => ({ openapi: '3.0.0', info: { title: '', description: '', version: '1.0.0', contact: {} }, tags: [], servers: [], components: {} });