feat: add new route to check user access to the service or not
This commit is contained in:
@@ -20,5 +20,13 @@ export function getSwaggerDocument(app: NestFastifyApplication) {
|
||||
.build();
|
||||
|
||||
const swaggerDocument = SwaggerModule.createDocument(app, swaggerConfig);
|
||||
SwaggerModule.setup("api-docs", app, swaggerDocument);
|
||||
SwaggerModule.setup("api-docs", app, swaggerDocument, {
|
||||
customSiteTitle: "Danak dsc API",
|
||||
swaggerOptions: {
|
||||
persistAuthorization: true,
|
||||
displayRequestDuration: true,
|
||||
filter: true,
|
||||
showExtensions: true,
|
||||
},
|
||||
});
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user