ibm-openapi-validator
Version:
Configurable and extensible validator/linter for OpenAPI documents
23 lines (22 loc) • 511 B
YAML
openapi: 3.0.0
components:
schemas:
A:
description: a schema
type: string
format: byte
complexOneOfError:
description: second oneOf should be array
oneOf:
- oneOf:
$ref: '#/components/schemas/A'
complexAllOfError:
description: allOf should be array
oneOf:
- allOf:
type: string
complexAnyOfError:
description: anyOf should be array
oneOf:
- anyOf:
$ref: '#/components/schemas/A'