From 8bb311df512b2997e494755f12cce1f1a1e3922a Mon Sep 17 00:00:00 2001 From: MeiMei <30769358+mei23@users.noreply.github.com> Date: Fri, 3 Apr 2020 22:42:29 +0900 Subject: APIリファレンスのカテゴリ処理の修正 (#6218) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * APIリファレンスのカテゴリ処理の修正 * tune --- src/server/api/openapi/gen-spec.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server/api/openapi') 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: [{ -- cgit v1.2.3-freya