diff options
| author | syuilo <syuilotan@yahoo.co.jp> | 2019-02-23 14:59:37 +0900 |
|---|---|---|
| committer | syuilo <syuilotan@yahoo.co.jp> | 2019-02-23 14:59:37 +0900 |
| commit | 140c78e5a7ed0b1c7dac2526ecf546b0daea1ef2 (patch) | |
| tree | 3cdae87924ed5d81a328a6a8da6bc225fe47545d /src/server/api/gen-openapi-spec.ts | |
| parent | Add source code link (diff) | |
| download | sharkey-140c78e5a7ed0b1c7dac2526ecf546b0daea1ef2.tar.gz sharkey-140c78e5a7ed0b1c7dac2526ecf546b0daea1ef2.tar.bz2 sharkey-140c78e5a7ed0b1c7dac2526ecf546b0daea1ef2.zip | |
Add operationId to more convinience
Diffstat (limited to 'src/server/api/gen-openapi-spec.ts')
| -rw-r--r-- | src/server/api/gen-openapi-spec.ts | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/server/api/gen-openapi-spec.ts b/src/server/api/gen-openapi-spec.ts index fe960e2511..59dc63228f 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: { |