File tree 2 files changed +27
-29
lines changed
2 files changed +27
-29
lines changed Original file line number Diff line number Diff line change 429
429
"$dynamicRef" : " #meta"
430
430
},
431
431
"content" : {
432
- "type" : " object" ,
433
- "additionalProperties" : {
434
- "$ref" : " #/$defs/media-type"
435
- }
432
+ "$ref" : " #/$defs/content"
436
433
}
437
434
},
438
435
"required" : [
636
633
"type" : " string"
637
634
},
638
635
"content" : {
639
- "type" : " object" ,
640
- "additionalProperties" : {
641
- "$ref" : " #/$defs/media-type"
642
- }
636
+ "$ref" : " #/$defs/content"
643
637
},
644
638
"required" : {
645
639
"default" : false ,
665
659
"$ref" : " #/$defs/request-body"
666
660
}
667
661
},
662
+ "content" : {
663
+ "type" : " object" ,
664
+ "additionalProperties" : {
665
+ "$ref" : " #/$defs/media-type"
666
+ },
667
+ "propertyNames" : {
668
+ "format" : " media-range"
669
+ }
670
+ },
668
671
"media-type" : {
669
672
"type" : " object" ,
670
673
"properties" : {
692
695
"type" : " object" ,
693
696
"properties" : {
694
697
"contentType" : {
695
- "type" : " string"
698
+ "type" : " string" ,
699
+ "format" : " media-range"
696
700
},
697
701
"headers" : {
698
702
"type" : " object" ,
783
787
}
784
788
},
785
789
"content" : {
786
- "type" : " object" ,
787
- "addtionalProperties" : {
788
- "$ref" : " #/$defs/media-type"
789
- }
790
+ "$ref" : " #/$defs/content"
790
791
},
791
792
"links" : {
792
793
"type" : " object" ,
955
956
"content" : {
956
957
"properties" : {
957
958
"content" : {
958
- "type" : " object" ,
959
- "additionalProperties" : {
960
- "$ref" : " #/$defs/media-type"
961
- }
959
+ "$ref" : " #/$defs/content"
962
960
}
963
961
}
964
962
}
Original file line number Diff line number Diff line change @@ -299,9 +299,7 @@ $defs:
299
299
schema :
300
300
$dynamicRef : ' #meta'
301
301
content :
302
- type : object
303
- additionalProperties :
304
- $ref : ' #/$defs/media-type'
302
+ $ref : ' #/$defs/content'
305
303
required :
306
304
- in
307
305
oneOf :
@@ -427,9 +425,7 @@ $defs:
427
425
description :
428
426
type : string
429
427
content :
430
- type : object
431
- additionalProperties :
432
- $ref : ' #/$defs/media-type'
428
+ $ref : ' #/$defs/content'
433
429
required :
434
430
default : false
435
431
type : boolean
@@ -447,6 +443,13 @@ $defs:
447
443
else :
448
444
$ref : ' #/$defs/request-body'
449
445
446
+ content :
447
+ type : object
448
+ additionalProperties :
449
+ $ref : ' #/$defs/media-type'
450
+ propertyNames :
451
+ format : media-range
452
+
450
453
media-type :
451
454
type : object
452
455
properties :
@@ -466,6 +469,7 @@ $defs:
466
469
properties :
467
470
contentType :
468
471
type : string
472
+ format : media-range
469
473
headers :
470
474
type : object
471
475
additionalProperties :
@@ -525,9 +529,7 @@ $defs:
525
529
additionalProperties :
526
530
$ref : ' #/$defs/header-or-reference'
527
531
content :
528
- type : object
529
- addtionalProperties :
530
- $ref : ' #/$defs/media-type'
532
+ $ref : ' #/$defs/content'
531
533
links :
532
534
type : object
533
535
additionalProperties :
@@ -646,9 +648,7 @@ $defs:
646
648
content :
647
649
properties :
648
650
content :
649
- type : object
650
- additionalProperties :
651
- $ref : ' #/$defs/media-type'
651
+ $ref : ' #/$defs/content'
652
652
$ref : ' #/$defs/specification-extensions'
653
653
unevaluatedProperties : false
654
654
You can’t perform that action at this time.
0 commit comments