Logo
Explore Help
Register Sign In
LukeParke/redocly-cli
1
0
Fork 0
You've already forked redocly-cli
mirror of https://github.com/LukeHagar/redocly-cli.git synced 2025-12-06 04:21:09 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
afb5d9425f755f45ad4cb9aa930410f49b660181
redocly-cli/docs/rules/recommended.md
Lorna Jane Mitchell de80612b55 chore: Run prettier on all docs files (#1334)
2023-11-17 09:45:03 +00:00

1.9 KiB
Raw Blame History

slug
slug
/docs/cli/rules/recommended

Recommended ruleset

These are the rules in the recommended set, grouped by their severity.

Errors:

  • no-empty-servers
  • no-enum-type-mismatch
  • no-example-value-and-externalValue
  • no-identical-paths
  • no-path-trailing-slash
  • no-server-trailing-slash
  • no-server-variables-empty-enum
  • no-undefined-server-variable
  • no-unresolved-refs
  • operation-operationId-unique
  • operation-operationId-url-safe
  • operation-parameters-unique
  • operation-summary
  • path-declaration-must-exist
  • path-not-include-query
  • path-parameters-defined
  • security-defined
  • spec-components-invalid-map-name
  • spec

Warnings:

  • configurable rules
  • info-license-url
  • info-license
  • no-ambiguous-paths
  • no-invalid-media-type-examples
  • no-server-example.com
  • no-unused-components
  • operation-2xx-response
  • operation-4xx-response
  • operation-operationId
  • tag-description

Recommended strict ruleset

There is also a recommended-strict version of recommended, which elevates all warnings to errors.

Powered by Gitea Version: 1.24.4 Page: 18ms Template: 0ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API