mirror of
https://github.com/paricafe/misskey.git
synced 2024-11-28 18:56:43 -06:00
Add operationId to more convinience
This commit is contained in:
parent
a8e18e0e22
commit
140c78e5a7
1 changed files with 1 additions and 0 deletions
|
@ -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: {
|
||||||
|
|
Loading…
Reference in a new issue