From 140c78e5a7ed0b1c7dac2526ecf546b0daea1ef2 Mon Sep 17 00:00:00 2001 From: syuilo Date: Sat, 23 Feb 2019 14:59:37 +0900 Subject: [PATCH] Add operationId to more convinience --- src/server/api/gen-openapi-spec.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/server/api/gen-openapi-spec.ts b/src/server/api/gen-openapi-spec.ts index fe960e251..59dc63228 100644 --- a/src/server/api/gen-openapi-spec.ts +++ b/src/server/api/gen-openapi-spec.ts @@ -390,6 +390,7 @@ export function genOpenapiSpec(lang = 'ja-JP') { } const info = { + operationId: endpoint.name, summary: endpoint.name, description: endpoint.meta.desc ? endpoint.meta.desc[lang] : 'No description provided.', externalDocs: {