Recommended

oas3-schema


Formats: Severity:

Perhaps the ’lightest’ linting there is. This rule ensures that the document provided, matches the schema of an OpenAPI 3.0+ document or OpenAPI 3.1.

The rule performs a schema match using JSON Schema

The schemas are built into libopenapi.

Why did this violation appear?

The spec provided is not a valid OpenAPI 3 or OpenAPI 3.1 specification.

How do I fix this violation?

Correct the specification violations, there isn’t any other way forward otherwise.

Spectral Equivalent

The rule is equivalent to oas3-schema