Skip to content

Commit

Permalink
APIドキュメントのソースコードリンクを変える
Browse files Browse the repository at this point in the history
  • Loading branch information
mei23 committed Apr 13, 2019
1 parent 473e72b commit 07de04c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/server/api/openapi/gen-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ export function genOpenapiSpec(lang = 'ja-JP') {

externalDocs: {
description: 'Repository',
url: 'https://github.com/syuilo/misskey'
url: 'https://github.com/mei23/misskey/tree/mei-m544'
},

servers: [{
Expand Down Expand Up @@ -118,7 +118,7 @@ export function genOpenapiSpec(lang = 'ja-JP') {
description: desc,
externalDocs: {
description: 'Source code',
url: `https://github.com/syuilo/misskey/blob/develop/src/server/api/endpoints/${endpoint.name}.ts`
url: `https://github.com/mei23/misskey/tree/mei-m544/src/server/api/endpoints/${endpoint.name}.ts`
},
...(endpoint.meta.tags ? {
tags: endpoint.meta.tags
Expand Down

0 comments on commit 07de04c

Please sign in to comment.