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

Use package.json version as version for the swagger

parent 19e55042
No related branches found
No related tags found
1 merge request!6Version 1.2.4
Pipeline #2437 passed
......@@ -20,7 +20,7 @@ async function bootstrap() {
.setBasePath('')
.setTitle('Email service API')
.setDescription('Service providing the method to send emails.')
.setVersion('0.1')
.setVersion(process.env.npm_package_version)
.addTag('email')
.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