Skip to content

Commit 566eec4

Browse files
committed
Additional test case for new field in meta.yaml
1 parent 9ab0815 commit 566eec4

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/schema/fail/invalid-schema-object.yaml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,10 @@ components:
1717
discriminator-incomplete:
1818
discriminator: # must have `propertyName` field
1919
mapping: true # must be an object
20-
discriminator-invalid-propertyName:
20+
discriminator-invalid-field-values:
2121
discriminator:
2222
propertyName: true # must be a string
23+
defaultMapping: true # must be a string
2324
discriminator-invalid-mapping:
2425
discriminator:
2526
propertyName: foo

0 commit comments

Comments
 (0)