Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Introduce OpenAPI specs #4351

Merged
merged 14 commits into from
Feb 23, 2019
Prev Previous commit
Next Next commit
Update gen-openapi-spec.ts
  • Loading branch information
syuilo committed Feb 22, 2019
commit c629bb52467e9ac61ff1c3a92c2d230c2f5cdf5f
5 changes: 4 additions & 1 deletion src/server/api/gen-openapi-spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -97,9 +97,12 @@ export function genOpenapiSpec(lang = 'ja-JP') {
openapi: '3.0.0',

info: {
version: '1',
version: 'v1',
title: 'Misskey API',
description: 'Misskey is a decentralized microblogging platform.',
'x-logo': {
url: '/assets/apple-touch-icon.png'
}
},

servers: [{
Expand Down