@@ -46,7 +46,7 @@ func main() {
46
46
47
47
configuration := openapiclient.NewConfiguration ()
48
48
api_client := openapiclient.NewAPIClient (configuration)
49
- resp , r , err := api_client.FakeApi .CreateXmlItem (context.Background (), xmlItem).Execute ()
49
+ resp , r , err := api_client.FakeApi .CreateXmlItem (context.Background ()). XmlItem ( xmlItem).Execute ()
50
50
if err != nil {
51
51
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.CreateXmlItem``: %v \n " , err)
52
52
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -110,7 +110,7 @@ func main() {
110
110
111
111
configuration := openapiclient.NewConfiguration ()
112
112
api_client := openapiclient.NewAPIClient (configuration)
113
- resp , r , err := api_client.FakeApi .FakeOuterBooleanSerialize (context.Background (), ).Body (body).Execute ()
113
+ resp , r , err := api_client.FakeApi .FakeOuterBooleanSerialize (context.Background ()).Body (body).Execute ()
114
114
if err != nil {
115
115
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.FakeOuterBooleanSerialize``: %v \n " , err)
116
116
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -176,7 +176,7 @@ func main() {
176
176
177
177
configuration := openapiclient.NewConfiguration ()
178
178
api_client := openapiclient.NewAPIClient (configuration)
179
- resp , r , err := api_client.FakeApi .FakeOuterCompositeSerialize (context.Background (), ).Body (body).Execute ()
179
+ resp , r , err := api_client.FakeApi .FakeOuterCompositeSerialize (context.Background ()).Body (body).Execute ()
180
180
if err != nil {
181
181
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.FakeOuterCompositeSerialize``: %v \n " , err)
182
182
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -242,7 +242,7 @@ func main() {
242
242
243
243
configuration := openapiclient.NewConfiguration ()
244
244
api_client := openapiclient.NewAPIClient (configuration)
245
- resp , r , err := api_client.FakeApi .FakeOuterNumberSerialize (context.Background (), ).Body (body).Execute ()
245
+ resp , r , err := api_client.FakeApi .FakeOuterNumberSerialize (context.Background ()).Body (body).Execute ()
246
246
if err != nil {
247
247
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.FakeOuterNumberSerialize``: %v \n " , err)
248
248
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -308,7 +308,7 @@ func main() {
308
308
309
309
configuration := openapiclient.NewConfiguration ()
310
310
api_client := openapiclient.NewAPIClient (configuration)
311
- resp , r , err := api_client.FakeApi .FakeOuterStringSerialize (context.Background (), ).Body (body).Execute ()
311
+ resp , r , err := api_client.FakeApi .FakeOuterStringSerialize (context.Background ()).Body (body).Execute ()
312
312
if err != nil {
313
313
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.FakeOuterStringSerialize``: %v \n " , err)
314
314
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -374,7 +374,7 @@ func main() {
374
374
375
375
configuration := openapiclient.NewConfiguration ()
376
376
api_client := openapiclient.NewAPIClient (configuration)
377
- resp , r , err := api_client.FakeApi .TestBodyWithFileSchema (context.Background (), body).Execute ()
377
+ resp , r , err := api_client.FakeApi .TestBodyWithFileSchema (context.Background ()). Body ( body).Execute ()
378
378
if err != nil {
379
379
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.TestBodyWithFileSchema``: %v \n " , err)
380
380
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -437,7 +437,7 @@ func main() {
437
437
438
438
configuration := openapiclient.NewConfiguration ()
439
439
api_client := openapiclient.NewAPIClient (configuration)
440
- resp , r , err := api_client.FakeApi .TestBodyWithQueryParams (context.Background (), query, body).Execute ()
440
+ resp , r , err := api_client.FakeApi .TestBodyWithQueryParams (context.Background ()). Query ( query). Body ( body).Execute ()
441
441
if err != nil {
442
442
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.TestBodyWithQueryParams``: %v \n " , err)
443
443
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -502,7 +502,7 @@ func main() {
502
502
503
503
configuration := openapiclient.NewConfiguration ()
504
504
api_client := openapiclient.NewAPIClient (configuration)
505
- resp , r , err := api_client.FakeApi .TestClientModel (context.Background (), body).Execute ()
505
+ resp , r , err := api_client.FakeApi .TestClientModel (context.Background ()). Body ( body).Execute ()
506
506
if err != nil {
507
507
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.TestClientModel``: %v \n " , err)
508
508
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -581,7 +581,7 @@ func main() {
581
581
582
582
configuration := openapiclient.NewConfiguration ()
583
583
api_client := openapiclient.NewAPIClient (configuration)
584
- resp , r , err := api_client.FakeApi .TestEndpointParameters (context.Background (), number, double, patternWithoutDelimiter, byte_).Integer (integer).Int32_ (int32_).Int64_ (int64_).Float (float).String_ (string_).Binary (binary).Date (date).DateTime (dateTime).Password (password).Callback (callback).Execute ()
584
+ resp , r , err := api_client.FakeApi .TestEndpointParameters (context.Background ()). Number ( number). Double ( double). PatternWithoutDelimiter ( patternWithoutDelimiter). Byte_ ( byte_).Integer (integer).Int32_ (int32_).Int64_ (int64_).Float (float).String_ (string_).Binary (binary).Date (date).DateTime (dateTime).Password (password).Callback (callback).Execute ()
585
585
if err != nil {
586
586
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.TestEndpointParameters``: %v \n " , err)
587
587
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -665,7 +665,7 @@ func main() {
665
665
666
666
configuration := openapiclient.NewConfiguration ()
667
667
api_client := openapiclient.NewAPIClient (configuration)
668
- resp , r , err := api_client.FakeApi .TestEnumParameters (context.Background (), ).EnumHeaderStringArray (enumHeaderStringArray).EnumHeaderString (enumHeaderString).EnumQueryStringArray (enumQueryStringArray).EnumQueryString (enumQueryString).EnumQueryInteger (enumQueryInteger).EnumQueryDouble (enumQueryDouble).EnumFormStringArray (enumFormStringArray).EnumFormString (enumFormString).Execute ()
668
+ resp , r , err := api_client.FakeApi .TestEnumParameters (context.Background ()).EnumHeaderStringArray (enumHeaderStringArray).EnumHeaderString (enumHeaderString).EnumQueryStringArray (enumQueryStringArray).EnumQueryString (enumQueryString).EnumQueryInteger (enumQueryInteger).EnumQueryDouble (enumQueryDouble).EnumFormStringArray (enumFormStringArray).EnumFormString (enumFormString).Execute ()
669
669
if err != nil {
670
670
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.TestEnumParameters``: %v \n " , err)
671
671
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -741,7 +741,7 @@ func main() {
741
741
742
742
configuration := openapiclient.NewConfiguration ()
743
743
api_client := openapiclient.NewAPIClient (configuration)
744
- resp , r , err := api_client.FakeApi .TestGroupParameters (context.Background (), requiredStringGroup, requiredBooleanGroup, requiredInt64Group).StringGroup (stringGroup).BooleanGroup (booleanGroup).Int64Group (int64Group).Execute ()
744
+ resp , r , err := api_client.FakeApi .TestGroupParameters (context.Background ()). RequiredStringGroup ( requiredStringGroup). RequiredBooleanGroup ( requiredBooleanGroup). RequiredInt64Group ( requiredInt64Group).StringGroup (stringGroup).BooleanGroup (booleanGroup).Int64Group (int64Group).Execute ()
745
745
if err != nil {
746
746
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.TestGroupParameters``: %v \n " , err)
747
747
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -808,7 +808,7 @@ func main() {
808
808
809
809
configuration := openapiclient.NewConfiguration ()
810
810
api_client := openapiclient.NewAPIClient (configuration)
811
- resp , r , err := api_client.FakeApi .TestInlineAdditionalProperties (context.Background (), param).Execute ()
811
+ resp , r , err := api_client.FakeApi .TestInlineAdditionalProperties (context.Background ()). Param ( param).Execute ()
812
812
if err != nil {
813
813
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.TestInlineAdditionalProperties``: %v \n " , err)
814
814
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -871,7 +871,7 @@ func main() {
871
871
872
872
configuration := openapiclient.NewConfiguration ()
873
873
api_client := openapiclient.NewAPIClient (configuration)
874
- resp , r , err := api_client.FakeApi .TestJsonFormData (context.Background (), param, param2).Execute ()
874
+ resp , r , err := api_client.FakeApi .TestJsonFormData (context.Background ()). Param ( param). Param2 ( param2).Execute ()
875
875
if err != nil {
876
876
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.TestJsonFormData``: %v \n " , err)
877
877
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
@@ -940,7 +940,7 @@ func main() {
940
940
941
941
configuration := openapiclient.NewConfiguration ()
942
942
api_client := openapiclient.NewAPIClient (configuration)
943
- resp , r , err := api_client.FakeApi .TestQueryParameterCollectionFormat (context.Background (), pipe, ioutil, http, url, context).Execute ()
943
+ resp , r , err := api_client.FakeApi .TestQueryParameterCollectionFormat (context.Background ()). Pipe ( pipe). Ioutil ( ioutil). Http ( http). Url ( url). Context ( context).Execute ()
944
944
if err != nil {
945
945
fmt.Fprintf (os.Stderr , " Error when calling `FakeApi.TestQueryParameterCollectionFormat``: %v \n " , err)
946
946
fmt.Fprintf (os.Stderr , " Full HTTP response: %v \n " , r)
0 commit comments