Commit 8e4d0325 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Use package.json version as version for the swagger

parent 780e0d25
Pipeline #3141 passed with stages
in 1 minute and 9 seconds
......@@ -22,7 +22,7 @@ async function bootstrap() {
.setBasePath('')
.setTitle('Middleware Legacy Authentication')
.setDescription('This service acts as an interface between the new portail Data (or its services) and the legacy authentication service.')
.setVersion('0.1')
.setVersion(process.env.npm_package_version)
.build();
const document = SwaggerModule.createDocument(app, options);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment