APIリファレンスのカテゴリ処理の修正 (#6218)

* APIリファレンスのカテゴリ処理の修正

* tune
This commit is contained in:
MeiMei 2020-04-03 22:42:29 +09:00 committed by GitHub
parent a77df249c2
commit 8bb311df51
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
16 changed files with 19 additions and 13 deletions

View file

@ -123,7 +123,7 @@ export function genOpenapiSpec(lang = 'ja-JP') {
url: `https://github.com/syuilo/misskey/blob/develop/src/server/api/endpoints/${endpoint.name}.ts`
},
...(endpoint.meta.tags ? {
tags: endpoint.meta.tags
tags: [endpoint.meta.tags[0]]
} : {}),
...(endpoint.meta.requireCredential ? {
security: [{