File tree 2 files changed +32
-44
lines changed 2 files changed +32
-44
lines changed Original file line number Diff line number Diff line change 534
534
"properties" : {
535
535
"style" : {
536
536
"default" : " simple" ,
537
- "enum" : [
538
- " simple"
539
- ]
537
+ "const" : " simple"
540
538
}
541
539
}
542
540
}
581
579
"properties" : {
582
580
"style" : {
583
581
"default" : " form" ,
584
- "enum" : [
585
- " form"
586
- ]
582
+ "const" : " form"
587
583
}
588
584
}
589
585
}
934
930
"default" : false ,
935
931
"type" : " boolean"
936
932
},
937
- "allowEmptyValue" : {
938
- "default" : false ,
939
- "type" : " boolean"
933
+ "schema" : {
934
+ "$dynamicRef" : " #meta"
935
+ },
936
+ "content" : {
937
+ "$ref" : " #/$defs/content"
940
938
}
941
939
},
940
+ "oneOf" : [
941
+ {
942
+ "required" : [
943
+ " schema"
944
+ ]
945
+ },
946
+ {
947
+ "required" : [
948
+ " content"
949
+ ]
950
+ }
951
+ ],
942
952
"dependentSchemas" : {
943
953
"schema" : {
944
954
"properties" : {
945
955
"style" : {
946
956
"default" : " simple" ,
947
- "enum" : [
948
- " simple"
949
- ]
957
+ "const" : " simple"
950
958
},
951
959
"explode" : {
952
960
"default" : false ,
953
961
"type" : " boolean"
954
- },
955
- "allowReserved" : {
956
- "default" : false ,
957
- "type" : " boolean"
958
- },
959
- "schema" : {
960
- "$dynamicRef" : " #meta"
961
962
}
962
963
},
963
964
"$ref" : " #/$defs/examples"
964
- },
965
- "content" : {
966
- "properties" : {
967
- "content" : {
968
- "$ref" : " #/$defs/content"
969
- }
970
- }
971
965
}
972
966
},
973
967
"$ref" : " #/$defs/specification-extensions" ,
Original file line number Diff line number Diff line change @@ -363,8 +363,7 @@ $defs:
363
363
properties :
364
364
style :
365
365
default : simple
366
- enum :
367
- - simple
366
+ const : simple
368
367
369
368
styles-for-query :
370
369
if :
@@ -394,8 +393,7 @@ $defs:
394
393
properties :
395
394
style :
396
395
default : form
397
- enum :
398
- - form
396
+ const : form
399
397
400
398
styles-for-form :
401
399
if :
@@ -634,29 +632,25 @@ $defs:
634
632
deprecated :
635
633
default : false
636
634
type : boolean
637
- allowEmptyValue :
638
- default : false
639
- type : boolean
635
+ schema :
636
+ $dynamicRef : ' #meta'
637
+ content :
638
+ $ref : ' #/$defs/content'
639
+ oneOf :
640
+ - required :
641
+ - schema
642
+ - required :
643
+ - content
640
644
dependentSchemas :
641
645
schema :
642
646
properties :
643
647
style :
644
648
default : simple
645
- enum :
646
- - simple
649
+ const : simple
647
650
explode :
648
651
default : false
649
652
type : boolean
650
- allowReserved :
651
- default : false
652
- type : boolean
653
- schema :
654
- $dynamicRef : ' #meta'
655
653
$ref : ' #/$defs/examples'
656
- content :
657
- properties :
658
- content :
659
- $ref : ' #/$defs/content'
660
654
$ref : ' #/$defs/specification-extensions'
661
655
unevaluatedProperties : false
662
656
You can’t perform that action at this time.
0 commit comments