From 9979f714417acafcdf560686403dde1390beb73f 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: {