fix(server): hardcode API-Version
This commit is contained in:
parent
b54cf88ca1
commit
26573e5a2b
1 changed files with 1 additions and 1 deletions
|
@ -36,7 +36,7 @@ async function bootstrap(): Promise<void> {
|
||||||
.setTitle('Cliffbreak TeamSpeak API')
|
.setTitle('Cliffbreak TeamSpeak API')
|
||||||
.setDescription('This is the official Cliffbreak TeamSpeak API!')
|
.setDescription('This is the official Cliffbreak TeamSpeak API!')
|
||||||
.addBearerAuth()
|
.addBearerAuth()
|
||||||
.setVersion(require('./../package.json').version)
|
.setVersion('1.0.0')
|
||||||
.build();
|
.build();
|
||||||
const swaggerDocument = SwaggerModule.createDocument(app, swaggerOptions);
|
const swaggerDocument = SwaggerModule.createDocument(app, swaggerOptions);
|
||||||
SwaggerModule.setup('/api-docs', app, swaggerDocument);
|
SwaggerModule.setup('/api-docs', app, swaggerDocument);
|
||||||
|
|
Loading…
Reference in a new issue