Add operationId to more convinience

This commit is contained in:
syuilo 2019-02-23 14:59:37 +09:00
parent f614a32c57
commit 9979f71441

View File

@ -390,6 +390,7 @@ export function genOpenapiSpec(lang = 'ja-JP') {
} }
const info = { const info = {
operationId: endpoint.name,
summary: endpoint.name, summary: endpoint.name,
description: endpoint.meta.desc ? endpoint.meta.desc[lang] : 'No description provided.', description: endpoint.meta.desc ? endpoint.meta.desc[lang] : 'No description provided.',
externalDocs: { externalDocs: {