Skip to content

Commit 3a78835

Browse files
Apply suggestions from PR review
Co-authored-by: Ralf Handl <ralf.handl@sap.com>
1 parent 459e5bb commit 3a78835

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

src/schemas/validation/meta.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ $defs:
3030
type: string
3131
type: object
3232
defaultMapping:
33-
type: object
33+
type: string
3434
propertyName:
3535
type: string
3636
required:

tests/schema/pass/mega.yaml

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -55,9 +55,7 @@ components:
5555
propertyName: type
5656
mapping:
5757
foo: Foo
58-
defaultMapping:
59-
not:
60-
required: ['type']
58+
defaultMapping: Bar
6159
x-extension: true
6260
anyOf:
6361
- $ref: "#/components/schemas/Foo"

0 commit comments

Comments
 (0)