mirror of
https://github.com/dadosfera/maestro.git
synced 2026-11-06 05:39:08 +00:00
DOCS: Swagger
This commit is contained in:
+3
-1
@@ -25,10 +25,12 @@ async function bootstrap() {
|
||||
|
||||
app.use(helmet());
|
||||
|
||||
const date = new Date();
|
||||
|
||||
const config = new DocumentBuilder()
|
||||
.setTitle('Maestro')
|
||||
.setDescription('Documentation for Maestro gateway')
|
||||
.setVersion('10.0')
|
||||
.setVersion(`${date.getDay()}.${date.getMonth()}.${date.getFullYear()}`)
|
||||
.addBearerAuth()
|
||||
.build();
|
||||
|
||||
|
||||
+1
-1
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user