Skip to content

Commit

Permalink
Merge pull request #1254 from gettakaro/openapi-additions
Browse files Browse the repository at this point in the history
  • Loading branch information
niekcandaele authored Sep 7, 2024
2 parents e7d6106 + 0422f04 commit 6a15ac4
Showing 1 changed file with 5 additions and 5 deletions.
10 changes: 5 additions & 5 deletions packages/lib-http/src/controllers/meta.ts
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ export class Meta {
{
info: {
title: `Takaro ${process.env.PACKAGE || 'API'}`,
version: process.env.TAKARO_VERSION || '0.0.0',
version: `${process.env.TAKARO_VERSION} - ${process.env.TAKARO_COMMIT} `,
contact: {
name: 'Takaro Team',
email: '[email protected]',
Expand All @@ -66,9 +66,9 @@ export class Meta {
securitySchemes: {
adminAuth: {
description: 'Used for system administration, like creating or deleting domains',
type: 'http',
scheme: 'bearer',
bearerFormat: 'JWT',
type: 'apiKey',
in: 'header',
name: 'x-takaro-admin-token',
},
domainAuth: {
description: 'Used for anything inside a domain. Players, GameServers, etc.',
Expand Down Expand Up @@ -153,7 +153,7 @@ export class Meta {
show-method-in-nav-bar="as-colored-block"
show-header="false"
allow-authentication="false"
allow-authentication="true"
allow-server-selection="false"
schema-style="table"
Expand Down

0 comments on commit 6a15ac4

Please sign in to comment.