We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent cbc870f commit d287f99Copy full SHA for d287f99
tests/schema/pass/mega.yaml
@@ -19,6 +19,12 @@ components:
19
securitySchemes:
20
mtls:
21
type: mutualTLS
22
+ schemas:
23
+ Foo:
24
+ type: object
25
+ properties:
26
+ type:
27
+ const: foo
28
pathItems:
29
myPathItem:
30
post:
@@ -47,5 +53,9 @@ components:
47
53
type: ['string','null']
48
54
discriminator:
49
55
propertyName: type
56
+ mapping:
57
+ foo: Foo
50
58
x-extension: true
59
+ anyOf:
60
+ - $ref: "#/components/schemas/Foo"
51
61
myArbitraryKeyword: true
0 commit comments