diff --git a/src/main.ts b/src/main.ts index 8dd11fbcc6146306b9bef4297d9356f02c43cdbe..9ae6855324b89cd8a7f3ae5a003258a7e214efa6 100644 --- a/src/main.ts +++ b/src/main.ts @@ -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);