Skip to content

OPENAPI

Linters

Linter Configuration key
spectral OPENAPI

Linted files

  • File extensions:
    • .yml
    • .yaml
    • .json
  • Detected file content:
    • "openapi":
    • "swagger":
    • openapi:
    • swagger:

Configuration in Mega-Linter

Variable Description Default value
OPENAPI_FILTER_REGEX_INCLUDE Custom regex including filter
OPENAPI_FILTER_REGEX_EXCLUDE Custom regex excluding filter