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
|
@ -14,6 +14,8 @@ export const meta = {
|
|||
'ja-JP': 'ハイブリッドタイムラインを取得します。'
|
||||
},
|
||||
|
||||
tags: ['notes'],
|
||||
|
||||
params: {
|
||||
limit: {
|
||||
validator: $.optional.num.range(1, 100),
|
||||
|
@ -92,6 +94,13 @@ export const meta = {
|
|||
},
|
||||
},
|
||||
|
||||
res: {
|
||||
type: 'array',
|
||||
items: {
|
||||
type: 'Note',
|
||||
},
|
||||
},
|
||||
|
||||
errors: {
|
||||
stlDisabled: {
|
||||
message: 'Social timeline has been disabled.',
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue