Improve doc
This commit is contained in:
parent
b5625a4550
commit
4cad36572c
3 changed files with 3577 additions and 3513 deletions
|
@ -1101,6 +1101,7 @@ docs:
|
|||
no-params: "パラメータはありません"
|
||||
res: "レスポンス"
|
||||
require-credential: "このエンドポイントは認証情報が必須です。"
|
||||
limit: "レートリミットがあります。直近{duration}ミリ秒の間のこのエンドポイントへのリクエスト数の合計が{max}を超える場合はリクエストできません。"
|
||||
props:
|
||||
name: "名前"
|
||||
type: "型"
|
||||
|
|
7086
package-lock.json
generated
7086
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -20,6 +20,9 @@ block main
|
|||
if endpoint.requireCredential
|
||||
div.ui.info: p= i18n('docs.api.endpoints.require-credential')
|
||||
|
||||
if endpoint.limit
|
||||
div.ui.warn: p!= i18n('docs.api.endpoints.limit').replace('{duration}', endpoint.limit.duration).replace('{max}', endpoint.limit.max)
|
||||
|
||||
if params && Object.keys(params).length > 0
|
||||
section
|
||||
h2= i18n('docs.api.endpoints.params')
|
||||
|
|
Loading…
Reference in a new issue