Introduce OpenAPI specs (#4351)

* wip

* wip

* wip

* Update index.ts

* Update gen-openapi-spec.ts

* Update api.ja-JP.md

* Fix

* Improve doc

* Update gen-openapi-spec.ts

* Update redoc.html

* Improve doc

* Update gen-openapi-spec.ts

* Improve doc

* Update CHANGELOG.md
This commit is contained in:
syuilo
2019-02-23 11:20:58 +09:00
committed by GitHub
parent 68a6758302
commit 52774bbe64
173 changed files with 1091 additions and 876 deletions

View File

@@ -2,6 +2,8 @@ import User from '../../../../models/user';
import define from '../../define';
export const meta = {
tags: ['account', 'following'],
requireCredential: true,
kind: 'account-write',

View File

@@ -9,6 +9,8 @@ export const meta = {
'en-US': 'Get favorited notes'
},
tags: ['account', 'notes', 'favorites'],
requireCredential: true,
kind: 'favorites-read',

View File

@@ -13,6 +13,8 @@ export const meta = {
'en-US': 'Get notifications.'
},
tags: ['account', 'notifications'],
requireCredential: true,
kind: 'account-read',

View File

@@ -12,6 +12,8 @@ export const meta = {
'ja-JP': '指定した投稿をピン留めします。'
},
tags: ['account', 'notes'],
requireCredential: true,
kind: 'account-write',

View File

@@ -9,6 +9,8 @@ export const meta = {
'en-US': 'Mark all talk messages as read.'
},
tags: ['account', 'messaging'],
requireCredential: true,
kind: 'account-write',

View File

@@ -9,6 +9,8 @@ export const meta = {
'en-US': 'Mark all messages as read.'
},
tags: ['account'],
requireCredential: true,
kind: 'account-write',

View File

@@ -12,6 +12,8 @@ export const meta = {
'ja-JP': '指定した投稿のピン留めを解除します。'
},
tags: ['account', 'notes'],
requireCredential: true,
kind: 'account-write',

View File

@@ -20,6 +20,8 @@ export const meta = {
'en-US': 'Update myself'
},
tags: ['account'],
requireCredential: true,
kind: 'account-write',