Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions src/schemas/validation/meta.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,8 @@ $defs:
additionalProperties:
type: string
type: object
defaultMapping:
type: object
propertyName:
type: string
required:
Expand Down
3 changes: 3 additions & 0 deletions tests/schema/pass/mega.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,9 @@ components:
propertyName: type
mapping:
foo: Foo
defaultMapping:
not:
required: ['type']
x-extension: true
anyOf:
- $ref: "#/components/schemas/Foo"
Expand Down