1
+
1
2
/*
2
3
* Swagger Petstore
3
4
*
@@ -30,17 +31,17 @@ type FakeApiService service
30
31
FakeApiService
31
32
Test serialization of outer boolean types
32
33
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
33
- * @param optional nil or *FakeOuterBooleanSerializeOpts - Optional Parameters:
34
+ * @param optional nil or *FakeApiFakeOuterBooleanSerializeOpts - Optional Parameters:
34
35
* @param "Body" (optional.Interface of OuterBoolean) - Input boolean as post body
35
36
36
37
@return OuterBoolean
37
38
*/
38
39
39
- type FakeOuterBooleanSerializeOpts struct {
40
+ type FakeApiFakeOuterBooleanSerializeOpts struct {
40
41
Body optional.Interface
41
42
}
42
43
43
- func (a * FakeApiService ) FakeOuterBooleanSerialize (ctx context.Context , localVarOptionals * FakeOuterBooleanSerializeOpts ) (OuterBoolean , * http.Response , error ) {
44
+ func (a * FakeApiService ) FakeOuterBooleanSerialize (ctx context.Context , localVarOptionals * FakeApiFakeOuterBooleanSerializeOpts ) (OuterBoolean , * http.Response , error ) {
44
45
var (
45
46
localVarHttpMethod = strings .ToUpper ("Post" )
46
47
localVarPostBody interface {}
@@ -133,17 +134,17 @@ func (a *FakeApiService) FakeOuterBooleanSerialize(ctx context.Context, localVar
133
134
FakeApiService
134
135
Test serialization of object with outer number type
135
136
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
136
- * @param optional nil or *FakeOuterCompositeSerializeOpts - Optional Parameters:
137
+ * @param optional nil or *FakeApiFakeOuterCompositeSerializeOpts - Optional Parameters:
137
138
* @param "Body" (optional.Interface of OuterComposite) - Input composite as post body
138
139
139
140
@return OuterComposite
140
141
*/
141
142
142
- type FakeOuterCompositeSerializeOpts struct {
143
+ type FakeApiFakeOuterCompositeSerializeOpts struct {
143
144
Body optional.Interface
144
145
}
145
146
146
- func (a * FakeApiService ) FakeOuterCompositeSerialize (ctx context.Context , localVarOptionals * FakeOuterCompositeSerializeOpts ) (OuterComposite , * http.Response , error ) {
147
+ func (a * FakeApiService ) FakeOuterCompositeSerialize (ctx context.Context , localVarOptionals * FakeApiFakeOuterCompositeSerializeOpts ) (OuterComposite , * http.Response , error ) {
147
148
var (
148
149
localVarHttpMethod = strings .ToUpper ("Post" )
149
150
localVarPostBody interface {}
@@ -236,17 +237,17 @@ func (a *FakeApiService) FakeOuterCompositeSerialize(ctx context.Context, localV
236
237
FakeApiService
237
238
Test serialization of outer number types
238
239
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
239
- * @param optional nil or *FakeOuterNumberSerializeOpts - Optional Parameters:
240
+ * @param optional nil or *FakeApiFakeOuterNumberSerializeOpts - Optional Parameters:
240
241
* @param "Body" (optional.Interface of OuterNumber) - Input number as post body
241
242
242
243
@return OuterNumber
243
244
*/
244
245
245
- type FakeOuterNumberSerializeOpts struct {
246
+ type FakeApiFakeOuterNumberSerializeOpts struct {
246
247
Body optional.Interface
247
248
}
248
249
249
- func (a * FakeApiService ) FakeOuterNumberSerialize (ctx context.Context , localVarOptionals * FakeOuterNumberSerializeOpts ) (OuterNumber , * http.Response , error ) {
250
+ func (a * FakeApiService ) FakeOuterNumberSerialize (ctx context.Context , localVarOptionals * FakeApiFakeOuterNumberSerializeOpts ) (OuterNumber , * http.Response , error ) {
250
251
var (
251
252
localVarHttpMethod = strings .ToUpper ("Post" )
252
253
localVarPostBody interface {}
@@ -339,17 +340,17 @@ func (a *FakeApiService) FakeOuterNumberSerialize(ctx context.Context, localVarO
339
340
FakeApiService
340
341
Test serialization of outer string types
341
342
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
342
- * @param optional nil or *FakeOuterStringSerializeOpts - Optional Parameters:
343
+ * @param optional nil or *FakeApiFakeOuterStringSerializeOpts - Optional Parameters:
343
344
* @param "Body" (optional.Interface of OuterString) - Input string as post body
344
345
345
346
@return OuterString
346
347
*/
347
348
348
- type FakeOuterStringSerializeOpts struct {
349
+ type FakeApiFakeOuterStringSerializeOpts struct {
349
350
Body optional.Interface
350
351
}
351
352
352
- func (a * FakeApiService ) FakeOuterStringSerialize (ctx context.Context , localVarOptionals * FakeOuterStringSerializeOpts ) (OuterString , * http.Response , error ) {
353
+ func (a * FakeApiService ) FakeOuterStringSerialize (ctx context.Context , localVarOptionals * FakeApiFakeOuterStringSerializeOpts ) (OuterString , * http.Response , error ) {
353
354
var (
354
355
localVarHttpMethod = strings .ToUpper ("Post" )
355
356
localVarPostBody interface {}
@@ -609,7 +610,7 @@ Fake endpoint for testing various parameters 假端點 偽のエンドポイン
609
610
* @param double None
610
611
* @param patternWithoutDelimiter None
611
612
* @param byte_ None
612
- * @param optional nil or *TestEndpointParametersOpts - Optional Parameters:
613
+ * @param optional nil or *FakeApiTestEndpointParametersOpts - Optional Parameters:
613
614
* @param "Integer" (optional.Int32) - None
614
615
* @param "Int32_" (optional.Int32) - None
615
616
* @param "Int64_" (optional.Int64) - None
@@ -624,7 +625,7 @@ Fake endpoint for testing various parameters 假端點 偽のエンドポイン
624
625
625
626
*/
626
627
627
- type TestEndpointParametersOpts struct {
628
+ type FakeApiTestEndpointParametersOpts struct {
628
629
Integer optional.Int32
629
630
Int32_ optional.Int32
630
631
Int64_ optional.Int64
@@ -637,7 +638,7 @@ type TestEndpointParametersOpts struct {
637
638
Callback optional.String
638
639
}
639
640
640
- func (a * FakeApiService ) TestEndpointParameters (ctx context.Context , number float32 , double float64 , patternWithoutDelimiter string , byte_ string , localVarOptionals * TestEndpointParametersOpts ) (* http.Response , error ) {
641
+ func (a * FakeApiService ) TestEndpointParameters (ctx context.Context , number float32 , double float64 , patternWithoutDelimiter string , byte_ string , localVarOptionals * FakeApiTestEndpointParametersOpts ) (* http.Response , error ) {
641
642
var (
642
643
localVarHttpMethod = strings .ToUpper ("Post" )
643
644
localVarPostBody interface {}
@@ -749,7 +750,7 @@ func (a *FakeApiService) TestEndpointParameters(ctx context.Context, number floa
749
750
FakeApiService To test enum parameters
750
751
To test enum parameters
751
752
* @param ctx context.Context - for authentication, logging, cancellation, deadlines, tracing, etc. Passed from http.Request or context.Background().
752
- * @param optional nil or *TestEnumParametersOpts - Optional Parameters:
753
+ * @param optional nil or *FakeApiTestEnumParametersOpts - Optional Parameters:
753
754
* @param "EnumFormStringArray" (optional.Interface of []string) - Form parameter enum test (string array)
754
755
* @param "EnumFormString" (optional.String) - Form parameter enum test (string)
755
756
* @param "EnumHeaderStringArray" (optional.Interface of []string) - Header parameter enum test (string array)
@@ -762,7 +763,7 @@ To test enum parameters
762
763
763
764
*/
764
765
765
- type TestEnumParametersOpts struct {
766
+ type FakeApiTestEnumParametersOpts struct {
766
767
EnumFormStringArray optional.Interface
767
768
EnumFormString optional.String
768
769
EnumHeaderStringArray optional.Interface
@@ -773,7 +774,7 @@ type TestEnumParametersOpts struct {
773
774
EnumQueryDouble optional.Float64
774
775
}
775
776
776
- func (a * FakeApiService ) TestEnumParameters (ctx context.Context , localVarOptionals * TestEnumParametersOpts ) (* http.Response , error ) {
777
+ func (a * FakeApiService ) TestEnumParameters (ctx context.Context , localVarOptionals * FakeApiTestEnumParametersOpts ) (* http.Response , error ) {
777
778
var (
778
779
localVarHttpMethod = strings .ToUpper ("Get" )
779
780
localVarPostBody interface {}
0 commit comments