Commit 13a4fd2
committed
Fix usage of "not"
Constructs such as:
type: object
not:
type: object
will always fail, so remove the type inside the not.
The "not" usage around "^x-" patterns for responses is
unnecessary, as the existing
patternProperties:
"[1-5]..."
additionalProperties: false
prevents all property that do not start with 1, 2, 3, 4, or 5
from being allowed already.1 parent 1087db4 commit 13a4fd2
1 file changed
Lines changed: 3 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
666 | 666 | | |
667 | 667 | | |
668 | 668 | | |
669 | | - | |
670 | 669 | | |
671 | 670 | | |
672 | | - | |
673 | | - | |
674 | | - | |
675 | | - | |
676 | | - | |
677 | 671 | | |
678 | 672 | | |
679 | 673 | | |
| |||
1250 | 1244 | | |
1251 | 1245 | | |
1252 | 1246 | | |
1253 | | - | |
1254 | | - | |
1255 | | - | |
1256 | | - | |
1257 | | - | |
1258 | | - | |
1259 | | - | |
1260 | 1247 | | |
1261 | 1248 | | |
1262 | 1249 | | |
1263 | 1250 | | |
1264 | 1251 | | |
1265 | 1252 | | |
1266 | 1253 | | |
| 1254 | + | |
| 1255 | + | |
| 1256 | + | |
1267 | 1257 | | |
1268 | 1258 | | |
1269 | 1259 | | |
| |||
0 commit comments