oasSchema
oasSchema
will check that a document is a valid OpenAPI Schema. It does this using a JSON Schema match against
OpenAPI or Swagger schemas. If you only ever use a single function, this should be it.
The function is used by the oas2-schema and the oas3-schema Rules