Commit 7004498d authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Use package.json version as version for the swagger

parent 2714d13c
Pipeline #2362 passed with stages
in 1 minute and 45 seconds
......@@ -22,7 +22,7 @@ async function bootstrap() {
.setBasePath('')
.setTitle('Organizations service API')
.setDescription('This service provides all the methods (CRUD) needed to manage organizations with their associated links.')
.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