From d452a32e82639b9104977cc61d30bcadac7ccc21 Mon Sep 17 00:00:00 2001 From: nael Date: Wed, 7 Aug 2024 21:00:54 +0200 Subject: [PATCH] :bug: Fix openapi bug --- packages/api/src/app.controller.ts | 2 +- packages/api/swagger/swagger-spec.yaml | 6 +----- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/packages/api/src/app.controller.ts b/packages/api/src/app.controller.ts index 8d15f0dc1..58698e0b3 100644 --- a/packages/api/src/app.controller.ts +++ b/packages/api/src/app.controller.ts @@ -27,7 +27,7 @@ export class AppController { @ApiOperation({ operationId: 'health' }) @ApiOkResponse({ - description: 'API is healthy', + description: 'Api is healthy', schema: { type: 'number', example: 200, diff --git a/packages/api/swagger/swagger-spec.yaml b/packages/api/swagger/swagger-spec.yaml index ad67019da..c3c089254 100644 --- a/packages/api/swagger/swagger-spec.yaml +++ b/packages/api/swagger/swagger-spec.yaml @@ -19,7 +19,7 @@ paths: parameters: [] responses: '200': - description: API is healthy + description: Api is healthy content: application/json: schema: @@ -107,8 +107,6 @@ paths: schema: type: string responses: - '200': - description: '' '200': description: '' '201': @@ -131,8 +129,6 @@ paths: schema: type: string responses: - '200': - description: '' '200': description: '' '201':