ibm-openapi-validator
Version:
Configurable and extensible validator/linter for OpenAPI documents
20 lines (19 loc) • 472 B
YAML
openapi: 3.0.0
components:
schemas:
A:
description: a schema
type: string
format: byte
oneOfError:
description: should be array but instead just a ref
oneOf:
$ref: '#/components/schemas/A'
allOfError:
description: should be array but instead just a type
allOf:
type: string
anyOfError:
description: should be array but instead just a ref
anyOf:
$ref: '#/components/schemas/A'