Switch source code bits
This commit is contained in:
parent
27ea1b7133
commit
c9940b7359
7 changed files with 66 additions and 36 deletions
|
@ -20,7 +20,7 @@ export function genOpenapiSpec(config: Config, includeSelfRef = false) {
|
|||
|
||||
externalDocs: {
|
||||
description: 'Repository',
|
||||
url: 'https://github.com/misskey-dev/misskey',
|
||||
url: 'https://activitypub.software/TransFem-org/Sharkey',
|
||||
},
|
||||
|
||||
servers: [{
|
||||
|
@ -98,7 +98,7 @@ export function genOpenapiSpec(config: Config, includeSelfRef = false) {
|
|||
description: desc,
|
||||
externalDocs: {
|
||||
description: 'Source code',
|
||||
url: `https://github.com/misskey-dev/misskey/blob/develop/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`,
|
||||
url: `https://activitypub.software/TransFem-org/Sharkey/-/tree/develop/packages/backend/src/server/api/endpoints/${endpoint.name}.ts`,
|
||||
},
|
||||
...(endpoint.meta.tags ? {
|
||||
tags: [endpoint.meta.tags[0]],
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue