We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent bdc7bd2 commit ffc399dCopy full SHA for ffc399d
schemaWithRef.json
@@ -0,0 +1,39 @@
1
+{
2
+ "definitions": {
3
+ "foo": {
4
+ "type": "object",
5
+ "additionalProperties": false,
6
+ "properties": {
7
+ "bar": {
8
+ "type": "boolean",
9
+ "default": false
10
+ }
11
12
+ },
13
14
+ "allOf": [
15
+ {
16
+ "$ref": "#/definitions/foo"
17
18
19
20
21
22
+ "enum": [
23
+ true
24
+ ]
25
26
27
28
29
30
31
32
33
34
35
36
+ "$ref": "#/definitions/bar"
37
38
39
+}
0 commit comments