代码拉取完成,页面将自动刷新
extends:
- recommended-strict
apis:
rest:
root: ./docs/source/_static/rest-api.yml
rules:
info-license-url: off
operation-4xx-response: off
# custom rules
# https://redocly.com/docs/cli/rules/configurable-rules/
rules:
rule/required-items-in-array-schemas:
subject:
type: Schema
assertions:
required:
- items
where:
- subject:
type: Schema
property: type
assertions:
const: array
defined: true
message: The 'items' field is required for schemas of array type.
rule/require-schema-type:
subject:
type: Schema
property: type
assertions:
defined: true
message: schema missing type
where:
# don't require type on schemas that reference other schemas, which already must specify type
- subject:
type: Schema
property: allOf
assertions:
defined: false
rule/require-parameter-schema:
subject:
type: Parameter
property: schema
assertions:
defined: true
message: Parameter missing schema
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。