schemaTypeCheck
schemaTypeCheck
will check a schema to ensure that it has a valid type, and passes basic type validation.
Example ruleset configuration
schema-type-check:
description: "Check a schema passes a basic type and type validation check"
type: "validation"
recommended: true
severity: "error"
given: "$"
then:
function: "schemaTypeCheck"
The function is used by the oas-schema-check Rule