fix and update
This commit is contained in:
@@ -28,6 +28,7 @@ async function bootstrap() {
|
||||
.build();
|
||||
const document = SwaggerModule.createDocument(app, config);
|
||||
SwaggerModule.setup('docs', app, document, {
|
||||
yamlDocumentUrl: '/openapi.yaml',
|
||||
swaggerOptions: { persistAuthorization: true },
|
||||
customSiteTitle: 'Документация API'
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user