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 7a999f2289
commit e2d2a4e2e4
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

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]],