Commit 4ba42aa
Don't skip ref expanding for property called enum when child of property called properties (#851)
This PR will:
- No longer skip ref expanding for a property called `enum` if the
parent property is called `properties`. This is used in the open api
spec.
- Remove test from skipping which are passing and skipping is no longer
needed.
- Resolves #849
---------
Co-authored-by: Dezső BICZÓ <mxr576@users.noreply.github.com>1 parent cf4f130 commit 4ba42aa
File tree
4 files changed
+10
-32
lines changed- src/JsonSchema
- tests/Drafts
4 files changed
+10
-32
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
| 11 | + | |
| 12 | + | |
11 | 13 | | |
12 | 14 | | |
13 | 15 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
81 | 81 | | |
82 | 82 | | |
83 | 83 | | |
84 | | - | |
| 84 | + | |
| 85 | + | |
85 | 86 | | |
86 | | - | |
| 87 | + | |
87 | 88 | | |
88 | 89 | | |
89 | 90 | | |
| |||
100 | 101 | | |
101 | 102 | | |
102 | 103 | | |
| 104 | + | |
103 | 105 | | |
104 | | - | |
| 106 | + | |
105 | 107 | | |
106 | 108 | | |
107 | 109 | | |
| |||
112 | 114 | | |
113 | 115 | | |
114 | 116 | | |
115 | | - | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
116 | 120 | | |
117 | 121 | | |
118 | 122 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
78 | 78 | | |
79 | 79 | | |
80 | 80 | | |
81 | | - | |
82 | | - | |
83 | | - | |
84 | | - | |
85 | 81 | | |
86 | | - | |
87 | | - | |
88 | | - | |
89 | 82 | | |
90 | 83 | | |
91 | 84 | | |
| |||
107 | 100 | | |
108 | 101 | | |
109 | 102 | | |
110 | | - | |
111 | | - | |
112 | | - | |
113 | | - | |
114 | | - | |
115 | 103 | | |
116 | | - | |
117 | | - | |
118 | | - | |
119 | 104 | | |
120 | 105 | | |
121 | 106 | | |
| |||
129 | 114 | | |
130 | 115 | | |
131 | 116 | | |
132 | | - | |
133 | | - | |
134 | 117 | | |
135 | 118 | | |
136 | 119 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | 26 | | |
31 | 27 | | |
32 | | - | |
33 | 28 | | |
34 | 29 | | |
35 | 30 | | |
| |||
46 | 41 | | |
47 | 42 | | |
48 | 43 | | |
49 | | - | |
50 | 44 | | |
51 | 45 | | |
52 | 46 | | |
| |||
62 | 56 | | |
63 | 57 | | |
64 | 58 | | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | 59 | | |
69 | 60 | | |
70 | | - | |
71 | | - | |
72 | 61 | | |
73 | 62 | | |
74 | 63 | | |
| |||
0 commit comments