feat: add new route to check user access to the service or not

This commit is contained in:
mahyargdz
2025-08-23 09:21:11 +03:30
parent 1d76138ead
commit 2bb6859afc
6 changed files with 71 additions and 8 deletions
+9 -1
View File
@@ -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,
},
});
}