diff --git a/src/main.ts b/src/main.ts
index 5ef19f66f411d65f30ce8aa08e210230f63ae434..e0aab9b13b96767db2301d04966886f4759018c6 100644
--- a/src/main.ts
+++ b/src/main.ts
@@ -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);