FAQ

  • GitHub GitHub Repo stars
  • Discord Discord Server
  • Recommended

    oas2-schema


    Formats: Severity:

    Specifications for OpenAPI/Swagger need to be valid, meaning that even without linting, the specification must meet the OpenAPI/Swagger Schema.

    What is this rule checking for?

    Making sure the specification has a valid structure and aligns with the standard. It’s using JSON Schema to validate against the schema

    Why did this violation appear?

    The Swagger specification is invalid.

    Spectral Equivalent

    The rule is equivalent to oas3-schema