Skip to content

Commit 459e5bb

Browse files
committed
Schema updates for #4339
1 parent 00dbb5d commit 459e5bb

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

src/schemas/validation/meta.yaml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,8 @@ $defs:
2929
additionalProperties:
3030
type: string
3131
type: object
32+
defaultMapping:
33+
type: object
3234
propertyName:
3335
type: string
3436
required:

tests/schema/pass/mega.yaml

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,9 @@ components:
5555
propertyName: type
5656
mapping:
5757
foo: Foo
58+
defaultMapping:
59+
not:
60+
required: ['type']
5861
x-extension: true
5962
anyOf:
6063
- $ref: "#/components/schemas/Foo"

0 commit comments

Comments
 (0)