Base document
The document through which the specification can be seen.
const config = new DocumentBuilder()
.setTitle('The Conrod Shop')
.setDescription('Documentation for the shop API')
.setVersion('1.0')
.build();const documentFactory = () => SwaggerModule.createDocument(app, config);SwaggerModule.setup('api', app, documentFactory);Last updated