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:
parent
68a6758302
commit
52774bbe64
173 changed files with 1091 additions and 876 deletions
|
|
@ -2,6 +2,8 @@ import User from '../../../../models/user';
|
|||
import define from '../../define';
|
||||
|
||||
export const meta = {
|
||||
tags: ['account', 'following'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'account-write',
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ export const meta = {
|
|||
'en-US': 'Get favorited notes'
|
||||
},
|
||||
|
||||
tags: ['account', 'notes', 'favorites'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'favorites-read',
|
||||
|
|
|
|||
|
|
@ -13,6 +13,8 @@ export const meta = {
|
|||
'en-US': 'Get notifications.'
|
||||
},
|
||||
|
||||
tags: ['account', 'notifications'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'account-read',
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ export const meta = {
|
|||
'ja-JP': '指定した投稿をピン留めします。'
|
||||
},
|
||||
|
||||
tags: ['account', 'notes'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'account-write',
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ export const meta = {
|
|||
'en-US': 'Mark all talk messages as read.'
|
||||
},
|
||||
|
||||
tags: ['account', 'messaging'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'account-write',
|
||||
|
|
|
|||
|
|
@ -9,6 +9,8 @@ export const meta = {
|
|||
'en-US': 'Mark all messages as read.'
|
||||
},
|
||||
|
||||
tags: ['account'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'account-write',
|
||||
|
|
|
|||
|
|
@ -12,6 +12,8 @@ export const meta = {
|
|||
'ja-JP': '指定した投稿のピン留めを解除します。'
|
||||
},
|
||||
|
||||
tags: ['account', 'notes'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'account-write',
|
||||
|
|
|
|||
|
|
@ -20,6 +20,8 @@ export const meta = {
|
|||
'en-US': 'Update myself'
|
||||
},
|
||||
|
||||
tags: ['account'],
|
||||
|
||||
requireCredential: true,
|
||||
|
||||
kind: 'account-write',
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue