@@ -107,11 +107,11 @@ paths:
107
107
type : " array"
108
108
items :
109
109
type : " string"
110
+ default : " available"
110
111
enum :
111
112
- " available"
112
113
- " pending"
113
114
- " sold"
114
- default : " available"
115
115
collectionFormat : " csv"
116
116
x-exportParamName : " Status"
117
117
responses :
@@ -216,12 +216,14 @@ paths:
216
216
required : false
217
217
type : " string"
218
218
x-exportParamName : " Name"
219
+ x-optionalDataType : " String"
219
220
- name : " status"
220
221
in : " formData"
221
222
description : " Updated status of the pet"
222
223
required : false
223
224
type : " string"
224
225
x-exportParamName : " Status"
226
+ x-optionalDataType : " String"
225
227
responses :
226
228
405 :
227
229
description : " Invalid input"
@@ -244,6 +246,7 @@ paths:
244
246
required : false
245
247
type : " string"
246
248
x-exportParamName : " ApiKey"
249
+ x-optionalDataType : " String"
247
250
- name : " petId"
248
251
in : " path"
249
252
description : " Pet id to delete"
@@ -283,6 +286,7 @@ paths:
283
286
required : false
284
287
type : " string"
285
288
x-exportParamName : " AdditionalMetadata"
289
+ x-optionalDataType : " String"
286
290
- name : " file"
287
291
in : " formData"
288
292
description : " file to upload"
@@ -635,10 +639,10 @@ paths:
635
639
type : " array"
636
640
items :
637
641
type : " string"
642
+ default : " $"
638
643
enum :
639
644
- " >"
640
645
- " $"
641
- default : " $"
642
646
x-exportParamName : " EnumFormStringArray"
643
647
- name : " enum_form_string"
644
648
in : " formData"
@@ -651,17 +655,18 @@ paths:
651
655
- " -efg"
652
656
- " (xyz)"
653
657
x-exportParamName : " EnumFormString"
658
+ x-optionalDataType : " String"
654
659
- name : " enum_header_string_array"
655
660
in : " header"
656
661
description : " Header parameter enum test (string array)"
657
662
required : false
658
663
type : " array"
659
664
items :
660
665
type : " string"
666
+ default : " $"
661
667
enum :
662
668
- " >"
663
669
- " $"
664
- default : " $"
665
670
x-exportParamName : " EnumHeaderStringArray"
666
671
- name : " enum_header_string"
667
672
in : " header"
@@ -674,17 +679,18 @@ paths:
674
679
- " -efg"
675
680
- " (xyz)"
676
681
x-exportParamName : " EnumHeaderString"
682
+ x-optionalDataType : " String"
677
683
- name : " enum_query_string_array"
678
684
in : " query"
679
685
description : " Query parameter enum test (string array)"
680
686
required : false
681
687
type : " array"
682
688
items :
683
689
type : " string"
690
+ default : " $"
684
691
enum :
685
692
- " >"
686
693
- " $"
687
- default : " $"
688
694
x-exportParamName : " EnumQueryStringArray"
689
695
- name : " enum_query_string"
690
696
in : " query"
@@ -697,6 +703,7 @@ paths:
697
703
- " -efg"
698
704
- " (xyz)"
699
705
x-exportParamName : " EnumQueryString"
706
+ x-optionalDataType : " String"
700
707
- name : " enum_query_integer"
701
708
in : " query"
702
709
description : " Query parameter enum test (double)"
@@ -707,6 +714,7 @@ paths:
707
714
- 1
708
715
- -2
709
716
x-exportParamName : " EnumQueryInteger"
717
+ x-optionalDataType : " Int32"
710
718
- name : " enum_query_double"
711
719
in : " formData"
712
720
description : " Query parameter enum test (double)"
@@ -717,6 +725,7 @@ paths:
717
725
- 1.1
718
726
- -1.2
719
727
x-exportParamName : " EnumQueryDouble"
728
+ x-optionalDataType : " Float64"
720
729
responses :
721
730
400 :
722
731
description : " Invalid request"
@@ -745,6 +754,7 @@ paths:
745
754
maximum : 100
746
755
minimum : 10
747
756
x-exportParamName : " Integer"
757
+ x-optionalDataType : " Int32"
748
758
- name : " int32"
749
759
in : " formData"
750
760
description : " None"
@@ -754,13 +764,15 @@ paths:
754
764
minimum : 20
755
765
format : " int32"
756
766
x-exportParamName : " Int32_"
767
+ x-optionalDataType : " Int32"
757
768
- name : " int64"
758
769
in : " formData"
759
770
description : " None"
760
771
required : false
761
772
type : " integer"
762
773
format : " int64"
763
774
x-exportParamName : " Int64_"
775
+ x-optionalDataType : " Int64"
764
776
- name : " number"
765
777
in : " formData"
766
778
description : " None"
@@ -777,6 +789,7 @@ paths:
777
789
maximum : 987.6
778
790
format : " float"
779
791
x-exportParamName : " Float"
792
+ x-optionalDataType : " Float32"
780
793
- name : " double"
781
794
in : " formData"
782
795
description : " None"
@@ -793,6 +806,7 @@ paths:
793
806
type : " string"
794
807
pattern : " /[a-z]/i"
795
808
x-exportParamName : " String_"
809
+ x-optionalDataType : " String"
796
810
- name : " pattern_without_delimiter"
797
811
in : " formData"
798
812
description : " None"
@@ -814,20 +828,23 @@ paths:
814
828
type : " string"
815
829
format : " binary"
816
830
x-exportParamName : " Binary"
831
+ x-optionalDataType : " String"
817
832
- name : " date"
818
833
in : " formData"
819
834
description : " None"
820
835
required : false
821
836
type : " string"
822
837
format : " date"
823
838
x-exportParamName : " Date"
839
+ x-optionalDataType : " String"
824
840
- name : " dateTime"
825
841
in : " formData"
826
842
description : " None"
827
843
required : false
828
844
type : " string"
829
845
format : " date-time"
830
846
x-exportParamName : " DateTime"
847
+ x-optionalDataType : " Time"
831
848
- name : " password"
832
849
in : " formData"
833
850
description : " None"
@@ -837,12 +854,14 @@ paths:
837
854
minLength : 10
838
855
format : " password"
839
856
x-exportParamName : " Password"
857
+ x-optionalDataType : " String"
840
858
- name : " callback"
841
859
in : " formData"
842
860
description : " None"
843
861
required : false
844
862
type : " string"
845
863
x-exportParamName : " Callback"
864
+ x-optionalDataType : " String"
846
865
responses :
847
866
400 :
848
867
description : " Invalid username supplied"
@@ -998,6 +1017,8 @@ paths:
998
1017
description : " successful operation"
999
1018
/fake/body-with-query-params :
1000
1019
put :
1020
+ tags :
1021
+ - " fake"
1001
1022
operationId : " testBodyWithQueryParams"
1002
1023
consumes :
1003
1024
- " application/json"
0 commit comments