Skip to content
Snippets Groups Projects
Commit 17b76f93 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Use package.json version as version for the swagger

parent ad42a139
Branches
Tags
1 merge request!4Version 2.1.4
Pipeline #2617 passed
......@@ -22,7 +22,7 @@ async function bootstrap() {
.setBasePath('')
.setTitle('Authentication service API')
.setDescription('This service expose the endpoints needed in order to Login/Logout with the OIDC/Grand Lyon Connect')
.setVersion('0.1')
.setVersion(process.env.npm_package_version)
.build();
const document = SwaggerModule.createDocument(app, options);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment