Skip to content

Commit

Permalink
feat: display version in API docs
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele committed Aug 17, 2024
1 parent 545ae97 commit a8055a3
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions packages/lib-http/src/controllers/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,15 @@ export class Meta {
storage,
{},
{
info: {
title: `Takaro ${process.env.PACKAGE || 'API'}`,
version: process.env.TAKARO_VERSION || '0.0.0',
contact: {
name: 'Takaro Team',
email: '[email protected]',
url: 'https://takaro.io',
},
},
components: {
schemas,
securitySchemes: {
Expand Down

0 comments on commit a8055a3

Please sign in to comment.