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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
173 changed files with 1091 additions and 876 deletions

View file

@ -11,6 +11,8 @@ export const meta = {
'en-US': 'Get replies of a note.'
},
tags: ['notes'],
requireCredential: false,
params: {
@ -32,7 +34,14 @@ export const meta = {
validator: $.optional.num.min(0),
default: 0
},
}
},
res: {
type: 'array',
items: {
type: 'Note',
},
},
};
export default define(meta, async (ps, user) => {