76
76
- required
77
77
additionalProperties:
78
78
type: boolean
79
+ patternProperties: { }
79
80
Ref:
80
81
type: number
81
82
RefObject:
97
98
- somekey
98
99
- string
99
100
additionalProperties: false
101
+ patternProperties: { }
100
102
ConditionalRef:
101
103
type: object
102
104
properties:
@@ -116,6 +118,7 @@ paths:
116
118
- somekey
117
119
- string
118
120
additionalProperties: false
121
+ patternProperties: { }
119
122
required:
120
123
- Simple
121
124
- Or
@@ -124,6 +127,7 @@ paths:
124
127
- Ref
125
128
- RefObject
126
129
additionalProperties: false
130
+ patternProperties: { }
127
131
components:
128
132
x-types:
129
133
Foo: number
@@ -198,6 +202,7 @@ paths:
198
202
- string
199
203
additionalProperties:
200
204
type: boolean
205
+ patternProperties: { }
201
206
description: An array of boolean records with the fixed 'string' property.
202
207
Conditional:
203
208
type: string
@@ -221,6 +226,7 @@ paths:
221
226
required:
222
227
- ReferencedAgain
223
228
additionalProperties: false
229
+ patternProperties: { }
224
230
description: A reference with nested references.
225
231
required:
226
232
- Plain
@@ -229,6 +235,7 @@ paths:
229
235
- Referenced
230
236
- NestedReferenced
231
237
additionalProperties: false
238
+ patternProperties: { }
232
239
components:
233
240
x-types:
234
241
Referenced: string
@@ -277,6 +284,7 @@ paths:
277
284
- az
278
285
- vidh
279
286
additionalProperties: false
287
+ patternProperties: { }
280
288
- type: object
281
289
properties:
282
290
bukh:
@@ -287,6 +295,7 @@ paths:
287
295
- bukh
288
296
- vidh
289
297
additionalProperties: false
298
+ patternProperties: { }
290
299
components: { }
291
300
"
292
301
` ;
@@ -365,6 +374,7 @@ paths:
365
374
- WrongSchemaFormat
366
375
- Referenced
367
376
additionalProperties: false
377
+ patternProperties: { }
368
378
components:
369
379
schemas:
370
380
Foo:
@@ -444,6 +454,7 @@ paths:
444
454
- foo
445
455
- bar
446
456
additionalProperties: false
457
+ patternProperties: { }
447
458
application/problems+json:
448
459
x-type:
449
460
WrongAndFormat:
@@ -470,6 +481,7 @@ paths:
470
481
- Empty
471
482
- ImpossibleArraysCombination
472
483
additionalProperties: false
484
+ patternProperties: { }
473
485
components:
474
486
x-types:
475
487
CorrectAnd:
@@ -526,6 +538,7 @@ paths:
526
538
- AFieldWithRegularRef
527
539
- AFieldWithInlineRef
528
540
additionalProperties: false
541
+ patternProperties: { }
529
542
'201':
530
543
description: A bare ref
531
544
content:
@@ -599,6 +612,7 @@ paths:
599
612
required:
600
613
- AWrongRef
601
614
additionalProperties: false
615
+ patternProperties: { }
602
616
components:
603
617
x-types:
604
618
Foo: any
@@ -667,9 +681,11 @@ paths:
667
681
- Number
668
682
- Integer
669
683
additionalProperties: false
684
+ patternProperties: { }
670
685
required:
671
686
- Formats
672
687
additionalProperties: false
688
+ patternProperties: { }
673
689
components: { }
674
690
"
675
691
` ;
@@ -783,10 +799,12 @@ paths:
783
799
required:
784
800
- bukh
785
801
additionalProperties: false
802
+ patternProperties: { }
786
803
required:
787
804
- Or
788
805
- ComplexOr
789
806
additionalProperties: false
807
+ patternProperties: { }
790
808
components:
791
809
x-types:
792
810
Or:
@@ -964,48 +982,48 @@ referenced from applications/outputs/x-openapi-with-refs.yaml:13:15 at #/paths/~
964
982
Error was generated by the no-invalid-media-type-examples rule.
965
983
966
984
967
- [4] applications/outputs/x-openapi-with-refs.yaml:72 :26 at #/paths/~1test/get/responses/202/content/application~1json/examples/Incorrect/value
985
+ [4] applications/outputs/x-openapi-with-refs.yaml:73 :26 at #/paths/~1test/get/responses/202/content/application~1json/examples/Incorrect/value
968
986
969
987
Example value must conform to the schema: type must be number.
970
988
971
- 70 | value: 42
972
- 71 | Incorrect:
973
- 72 | value: false
989
+ 71 | value: 42
990
+ 72 | Incorrect:
991
+ 73 | value: false
974
992
| ^^^^^
975
- 73 | schema:
976
- 74 | type: number
993
+ 74 | schema:
994
+ 75 | type: number
977
995
978
- referenced from applications/outputs/x-openapi-with-refs.yaml:67 :15 at #/paths/~1test/get/responses/202/content/application~1json
996
+ referenced from applications/outputs/x-openapi-with-refs.yaml:68 :15 at #/paths/~1test/get/responses/202/content/application~1json
979
997
980
998
Error was generated by the no-invalid-media-type-examples rule.
981
999
982
1000
983
- [5] applications/outputs/x-openapi-with-refs.yaml:86 :26 at #/paths/~1test/get/responses/203/content/application~1json/examples/Incorrect/value
1001
+ [5] applications/outputs/x-openapi-with-refs.yaml:87 :26 at #/paths/~1test/get/responses/203/content/application~1json/examples/Incorrect/value
984
1002
985
1003
Example value must conform to the schema: type must be array.
986
1004
987
- 84 | - anything
988
- 85 | Incorrect:
989
- 86 | value: anything
1005
+ 85 | - anything
1006
+ 86 | Incorrect:
1007
+ 87 | value: anything
990
1008
| ^^^^^^^^
991
- 87 | schema:
992
- 88 | type: array
1009
+ 88 | schema:
1010
+ 89 | type: array
993
1011
994
- referenced from applications/outputs/x-openapi-with-refs.yaml:79 :15 at #/paths/~1test/get/responses/203/content/application~1json
1012
+ referenced from applications/outputs/x-openapi-with-refs.yaml:80 :15 at #/paths/~1test/get/responses/203/content/application~1json
995
1013
996
1014
Error was generated by the no-invalid-media-type-examples rule.
997
1015
998
1016
999
- [6] applications/outputs/x-openapi-with-refs.yaml:103 :19 at #/paths/~1test/get/responses/404/content/application~1json/x-type/AWrongRef
1017
+ [6] applications/outputs/x-openapi-with-refs.yaml:104 :19 at #/paths/~1test/get/responses/404/content/application~1json/x-type/AWrongRef
1000
1018
1001
1019
Can't resolve $ref: ENOENT: no such file or directory './applications/outputs/wrong-file.yaml'
1002
1020
1003
- 101 | x-type:
1004
- 102 | AWrongRef:
1005
- 103 | $ref: wrong-file.yaml
1021
+ 102 | x-type:
1022
+ 103 | AWrongRef:
1023
+ 104 | $ref: wrong-file.yaml
1006
1024
| ^^^^^^^^^^^^^^^^^^^^^
1007
- 104 | example:
1008
- 105 | AWrongRef: Accepts anything
1025
+ 105 | example:
1026
+ 106 | AWrongRef: Accepts anything
1009
1027
1010
1028
Error was generated by the no-unresolved-refs rule.
1011
1029
0 commit comments