Add operationId to more convinience

This commit is contained in:
syuilo 2019-02-23 14:59:37 +09:00
parent a8e18e0e22
commit 140c78e5a7
No known key found for this signature in database
GPG key ID: BDC4C49D06AB9D69

View file

@ -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: {