DOCS: Swagger

This commit is contained in:
Victor Radael
2022-08-23 14:52:36 -03:00
parent 7fa903fa1c
commit ae443b5b03
2 changed files with 4 additions and 2 deletions
+3 -1
View File
@@ -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
View File
File diff suppressed because one or more lines are too long