From 904d65780b66045d0062b61ec86dedd3a5da1cca Mon Sep 17 00:00:00 2001 From: "makabe.t" Date: Wed, 10 May 2023 23:54:20 +0000 Subject: [PATCH] =?UTF-8?q?Merged=20PR=2096:=20=E5=A4=96=E9=83=A8=E9=80=A3?= =?UTF-8?q?=E6=90=BAAPISwagger=E3=82=A8=E3=83=A9=E3=83=BC=E4=BF=AE?= =?UTF-8?q?=E6=AD=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ## 概要 [Task1732: 外部連携APISwaggerエラー修正](https://paruru.nds-tyo.co.jp:8443/tfs/ReciproCollection/fa4924a4-d079-4fab-9fb5-a9a11eb205f0/_workitems/edit/1732) - Swaggerの構文で不要な文言が残ったままでしたので削除しました。 ## レビューポイント - 共有 ## UIの変更 無し ## 動作確認状況 - ローカルで確認 - Swaggerでエラーがないことを確認 --- dictation_server/src/api/odms/openapi.json | 3 +-- dictation_server/src/main.ts | 1 - 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/dictation_server/src/api/odms/openapi.json b/dictation_server/src/api/odms/openapi.json index b08946e..7331140 100644 --- a/dictation_server/src/api/odms/openapi.json +++ b/dictation_server/src/api/odms/openapi.json @@ -1233,8 +1233,7 @@ "bearer": { "scheme": "bearer", "bearerFormat": "JWT", - "type": "http", - "in": "header" + "type": "http" } }, "schemas": { diff --git a/dictation_server/src/main.ts b/dictation_server/src/main.ts index 0dd1bb9..04ae4b3 100644 --- a/dictation_server/src/main.ts +++ b/dictation_server/src/main.ts @@ -39,7 +39,6 @@ async function bootstrap() { type: 'http', scheme: 'bearer', bearerFormat: 'JWT', - in: 'header', }) .build(); const document = SwaggerModule.createDocument(app, options);