All conformance tests
/conf/formats/
- /conf/formats/detect-aas2-6: A document with
asyncapi: 2.6.0 is aas2_6 and not aas2_5. - /conf/formats/detect-aas2-needs-patch:
asyncapi: "2.6" without a patch number is not aas2, while 2.6.0 is. - /conf/formats/detect-arazzo: A document with
arazzo: 1.0.1 is arazzo1_0. - /conf/formats/detect-json-schema-2020-12: A
$schema of draft 2020-12 is jsonSchemaDraft2020_12 and not draft 7. - /conf/formats/detect-json-schema-loose: A document with
type: object and no $schema is jsonSchemaLoose but not jsonSchema. - /conf/formats/detect-number-version: An unquoted
openapi: 3.0 is the number 3, whose string form is 3, so the document is oas3 but not oas3_0. - /conf/formats/detect-oas2: A document with
swagger: "2.0" is oas2 and not oas3. - /conf/formats/detect-oas3-1: An OpenAPI 3.1 document is detected as
oas3_1 and not as oas3_0. - /conf/formats/detection-declared-only:
oas3_1 is not detected when no rule names it, so for an OpenAPI 3.1 document the alias uses its oas3 target, though an oas3_1 target comes last. - /conf/formats/rule-overrides-ruleset: A rule's own
formats replaces the ruleset's. - /conf/formats/rule-scope: Of two rules scoped to different formats, only the one whose format the document has runs.
- /conf/formats/ruleset-default: A rule without
formats takes the ruleset's, so it does not run on a document of another format, while a rule scoped to that format does. - /conf/formats/shape-string: A ruleset whose
formats is a string is invalid. - /conf/formats/shape-valid:
formats as an array of strings on the ruleset, a rule, an override, and an alias target is valid. - /conf/formats/unknown-identifier: A rule whose
formats names an identifier outside the table, oas31, is invalid. - /conf/formats/unrecognized-document: A document that has none of the ruleset's formats gets one warning and no rule results.
- /conf/formats/unrecognized-unscoped: A document with none of the ruleset's formats gets the warning, the ruleset's own rule does not run, and an unscoped rule from an extended ruleset does.
- /conf/formats/unscoped: Without
formats anywhere, a rule runs on a document of no known format.