fix: code url in documentation (#8117)

It seems this was not changed while refactoring the modules apart.
This commit is contained in:
Johann150 2022-01-20 19:01:45 +01:00 committed by GitHub
parent 2e8c622c53
commit c42e63a1ca

View File

@ -118,7 +118,7 @@ export function genOpenapiSpec(lang = 'ja-JP') {
description: desc, description: desc,
externalDocs: { externalDocs: {
description: 'Source code', description: 'Source code',
url: `https://github.com/misskey-dev/misskey/blob/develop/src/server/api/endpoints/${endpoint.name}.ts`, url: `https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`,
}, },
...(endpoint.meta.tags ? { ...(endpoint.meta.tags ? {
tags: [endpoint.meta.tags[0]], tags: [endpoint.meta.tags[0]],