summaryrefslogtreecommitdiff
path: root/src/server/api/openapi
diff options
context:
space:
mode:
authorMeiMei <30769358+mei23@users.noreply.github.com>2020-04-03 22:42:29 +0900
committerGitHub <noreply@github.com>2020-04-03 22:42:29 +0900
commit8bb311df512b2997e494755f12cce1f1a1e3922a (patch)
tree2a41ee54802df9c3e651390fe4642262e57990a7 /src/server/api/openapi
parenti18n (#6219) (diff)
downloadsharkey-8bb311df512b2997e494755f12cce1f1a1e3922a.tar.gz
sharkey-8bb311df512b2997e494755f12cce1f1a1e3922a.tar.bz2
sharkey-8bb311df512b2997e494755f12cce1f1a1e3922a.zip
APIリファレンスのカテゴリ処理の修正 (#6218)
* APIリファレンスのカテゴリ処理の修正 * tune
Diffstat (limited to 'src/server/api/openapi')
-rw-r--r--src/server/api/openapi/gen-spec.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/server/api/openapi/gen-spec.ts b/src/server/api/openapi/gen-spec.ts
index de26b970ea..78e4810376 100644
--- a/src/server/api/openapi/gen-spec.ts
+++ b/src/server/api/openapi/gen-spec.ts
@@ -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: [{