Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ public interface {{classname}} extends ApiClient.Api {
"{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}},
{{/-last}}{{/headerParams}}
})
{{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{nickname}}({{#allParams}}{{^isQueryParam}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/isQueryParam}}{{/allParams}}@QueryMap(encoded=true) {{operationIdCamelCase}}QueryParams queryParams);
{{#returnType}}{{{.}}} {{/returnType}}{{^returnType}}void {{/returnType}}{{nickname}}({{#allParams}}{{^isQueryParam}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/isQueryParam}}{{/allParams}}@QueryMap {{operationIdCamelCase}}QueryParams queryParams);

/**
* {{summary}}
Expand Down Expand Up @@ -168,7 +168,7 @@ public interface {{classname}} extends ApiClient.Api {
"{{baseName}}: {{=<% %>=}}{<%paramName%>}<%={{ }}=%>"{{^-last}},
{{/-last}}{{/headerParams}}
})
ApiResponse<{{#returnType}}{{{.}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{nickname}}WithHttpInfo({{#allParams}}{{^isQueryParam}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/isQueryParam}}{{/allParams}}@QueryMap(encoded=true) {{operationIdCamelCase}}QueryParams queryParams);
ApiResponse<{{#returnType}}{{{.}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{nickname}}WithHttpInfo({{#allParams}}{{^isQueryParam}}{{^isBodyParam}}{{^isFormParam}}{{^legacyDates}}@Param("{{paramName}}") {{/legacyDates}}{{#legacyDates}}@Param(value="{{paramName}}", expander=ParamExpander.class) {{/legacyDates}}{{/isFormParam}}{{#isFormParam}}@Param("{{baseName}}") {{/isFormParam}}{{/isBodyParam}}{{>nullable_var_annotations}} {{{dataType}}} {{paramName}}, {{/isQueryParam}}{{/allParams}}@QueryMap {{operationIdCamelCase}}QueryParams queryParams);


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({
"Accept: text/plain",
})
String testEnumRefString(@QueryMap(encoded=true) TestEnumRefStringQueryParams queryParams);
String testEnumRefString(@QueryMap TestEnumRefStringQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -89,7 +89,7 @@ public interface QueryApi extends ApiClient.Api {
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testEnumRefStringWithHttpInfo(@QueryMap(encoded=true) TestEnumRefStringQueryParams queryParams);
ApiResponse<String> testEnumRefStringWithHttpInfo(@QueryMap TestEnumRefStringQueryParams queryParams);


/**
Expand Down Expand Up @@ -158,7 +158,7 @@ public TestEnumRefStringQueryParams enumRefStringQuery(@javax.annotation.Nullabl
@Headers({
"Accept: text/plain",
})
String testQueryDatetimeDateString(@QueryMap(encoded=true) TestQueryDatetimeDateStringQueryParams queryParams);
String testQueryDatetimeDateString(@QueryMap TestQueryDatetimeDateStringQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -178,7 +178,7 @@ public TestEnumRefStringQueryParams enumRefStringQuery(@javax.annotation.Nullabl
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testQueryDatetimeDateStringWithHttpInfo(@QueryMap(encoded=true) TestQueryDatetimeDateStringQueryParams queryParams);
ApiResponse<String> testQueryDatetimeDateStringWithHttpInfo(@QueryMap TestQueryDatetimeDateStringQueryParams queryParams);


/**
Expand Down Expand Up @@ -251,7 +251,7 @@ public TestQueryDatetimeDateStringQueryParams stringQuery(@javax.annotation.Null
@Headers({
"Accept: text/plain",
})
String testQueryIntegerBooleanString(@QueryMap(encoded=true) TestQueryIntegerBooleanStringQueryParams queryParams);
String testQueryIntegerBooleanString(@QueryMap TestQueryIntegerBooleanStringQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -271,7 +271,7 @@ public TestQueryDatetimeDateStringQueryParams stringQuery(@javax.annotation.Null
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testQueryIntegerBooleanStringWithHttpInfo(@QueryMap(encoded=true) TestQueryIntegerBooleanStringQueryParams queryParams);
ApiResponse<String> testQueryIntegerBooleanStringWithHttpInfo(@QueryMap TestQueryIntegerBooleanStringQueryParams queryParams);


/**
Expand Down Expand Up @@ -338,7 +338,7 @@ public TestQueryIntegerBooleanStringQueryParams stringQuery(@javax.annotation.Nu
@Headers({
"Accept: text/plain",
})
String testQueryStyleDeepObjectExplodeTrueObject(@QueryMap(encoded=true) TestQueryStyleDeepObjectExplodeTrueObjectQueryParams queryParams);
String testQueryStyleDeepObjectExplodeTrueObject(@QueryMap TestQueryStyleDeepObjectExplodeTrueObjectQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -356,7 +356,7 @@ public TestQueryIntegerBooleanStringQueryParams stringQuery(@javax.annotation.Nu
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(@QueryMap(encoded=true) TestQueryStyleDeepObjectExplodeTrueObjectQueryParams queryParams);
ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectWithHttpInfo(@QueryMap TestQueryStyleDeepObjectExplodeTrueObjectQueryParams queryParams);


/**
Expand Down Expand Up @@ -415,7 +415,7 @@ public TestQueryStyleDeepObjectExplodeTrueObjectQueryParams queryObject(@javax.a
@Headers({
"Accept: text/plain",
})
String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@QueryMap(encoded=true) TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams queryParams);
String testQueryStyleDeepObjectExplodeTrueObjectAllOf(@QueryMap TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -433,7 +433,7 @@ public TestQueryStyleDeepObjectExplodeTrueObjectQueryParams queryObject(@javax.a
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(@QueryMap(encoded=true) TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams queryParams);
ApiResponse<String> testQueryStyleDeepObjectExplodeTrueObjectAllOfWithHttpInfo(@QueryMap TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams queryParams);


/**
Expand Down Expand Up @@ -492,7 +492,7 @@ public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams queryObject(@ja
@Headers({
"Accept: text/plain",
})
String testQueryStyleFormExplodeFalseArrayInteger(@QueryMap(encoded=true) TestQueryStyleFormExplodeFalseArrayIntegerQueryParams queryParams);
String testQueryStyleFormExplodeFalseArrayInteger(@QueryMap TestQueryStyleFormExplodeFalseArrayIntegerQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -510,7 +510,7 @@ public TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryParams queryObject(@ja
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(@QueryMap(encoded=true) TestQueryStyleFormExplodeFalseArrayIntegerQueryParams queryParams);
ApiResponse<String> testQueryStyleFormExplodeFalseArrayIntegerWithHttpInfo(@QueryMap TestQueryStyleFormExplodeFalseArrayIntegerQueryParams queryParams);


/**
Expand Down Expand Up @@ -569,7 +569,7 @@ public TestQueryStyleFormExplodeFalseArrayIntegerQueryParams queryObject(@javax.
@Headers({
"Accept: text/plain",
})
String testQueryStyleFormExplodeFalseArrayString(@QueryMap(encoded=true) TestQueryStyleFormExplodeFalseArrayStringQueryParams queryParams);
String testQueryStyleFormExplodeFalseArrayString(@QueryMap TestQueryStyleFormExplodeFalseArrayStringQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -587,7 +587,7 @@ public TestQueryStyleFormExplodeFalseArrayIntegerQueryParams queryObject(@javax.
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(@QueryMap(encoded=true) TestQueryStyleFormExplodeFalseArrayStringQueryParams queryParams);
ApiResponse<String> testQueryStyleFormExplodeFalseArrayStringWithHttpInfo(@QueryMap TestQueryStyleFormExplodeFalseArrayStringQueryParams queryParams);


/**
Expand Down Expand Up @@ -646,7 +646,7 @@ public TestQueryStyleFormExplodeFalseArrayStringQueryParams queryObject(@javax.a
@Headers({
"Accept: text/plain",
})
String testQueryStyleFormExplodeTrueArrayString(@QueryMap(encoded=true) TestQueryStyleFormExplodeTrueArrayStringQueryParams queryParams);
String testQueryStyleFormExplodeTrueArrayString(@QueryMap TestQueryStyleFormExplodeTrueArrayStringQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -664,7 +664,7 @@ public TestQueryStyleFormExplodeFalseArrayStringQueryParams queryObject(@javax.a
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(@QueryMap(encoded=true) TestQueryStyleFormExplodeTrueArrayStringQueryParams queryParams);
ApiResponse<String> testQueryStyleFormExplodeTrueArrayStringWithHttpInfo(@QueryMap TestQueryStyleFormExplodeTrueArrayStringQueryParams queryParams);


/**
Expand Down Expand Up @@ -723,7 +723,7 @@ public TestQueryStyleFormExplodeTrueArrayStringQueryParams queryObject(@javax.an
@Headers({
"Accept: text/plain",
})
String testQueryStyleFormExplodeTrueObject(@QueryMap(encoded=true) TestQueryStyleFormExplodeTrueObjectQueryParams queryParams);
String testQueryStyleFormExplodeTrueObject(@QueryMap TestQueryStyleFormExplodeTrueObjectQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -741,7 +741,7 @@ public TestQueryStyleFormExplodeTrueArrayStringQueryParams queryObject(@javax.an
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(@QueryMap(encoded=true) TestQueryStyleFormExplodeTrueObjectQueryParams queryParams);
ApiResponse<String> testQueryStyleFormExplodeTrueObjectWithHttpInfo(@QueryMap TestQueryStyleFormExplodeTrueObjectQueryParams queryParams);


/**
Expand Down Expand Up @@ -800,7 +800,7 @@ public TestQueryStyleFormExplodeTrueObjectQueryParams queryObject(@javax.annotat
@Headers({
"Accept: text/plain",
})
String testQueryStyleFormExplodeTrueObjectAllOf(@QueryMap(encoded=true) TestQueryStyleFormExplodeTrueObjectAllOfQueryParams queryParams);
String testQueryStyleFormExplodeTrueObjectAllOf(@QueryMap TestQueryStyleFormExplodeTrueObjectAllOfQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -818,7 +818,7 @@ public TestQueryStyleFormExplodeTrueObjectQueryParams queryObject(@javax.annotat
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(@QueryMap(encoded=true) TestQueryStyleFormExplodeTrueObjectAllOfQueryParams queryParams);
ApiResponse<String> testQueryStyleFormExplodeTrueObjectAllOfWithHttpInfo(@QueryMap TestQueryStyleFormExplodeTrueObjectAllOfQueryParams queryParams);


/**
Expand Down Expand Up @@ -880,7 +880,7 @@ public TestQueryStyleFormExplodeTrueObjectAllOfQueryParams queryObject(@javax.an
@Headers({
"Accept: text/plain",
})
String testQueryStyleJsonSerializationObject(@QueryMap(encoded=true) TestQueryStyleJsonSerializationObjectQueryParams queryParams);
String testQueryStyleJsonSerializationObject(@QueryMap TestQueryStyleJsonSerializationObjectQueryParams queryParams);

/**
* Test query parameter(s)
Expand All @@ -899,7 +899,7 @@ public TestQueryStyleFormExplodeTrueObjectAllOfQueryParams queryObject(@javax.an
@Headers({
"Accept: text/plain",
})
ApiResponse<String> testQueryStyleJsonSerializationObjectWithHttpInfo(@QueryMap(encoded=true) TestQueryStyleJsonSerializationObjectQueryParams queryParams);
ApiResponse<String> testQueryStyleJsonSerializationObjectWithHttpInfo(@QueryMap TestQueryStyleJsonSerializationObjectQueryParams queryParams);


/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ public interface FakeApi extends ApiClient.Api {
"Accept: application/json",
"header_1: {header1}"
})
void fakeHttpSignatureTest(@javax.annotation.Nonnull Pet pet, @Param("header1") @javax.annotation.Nullable String header1, @QueryMap(encoded=true) FakeHttpSignatureTestQueryParams queryParams);
void fakeHttpSignatureTest(@javax.annotation.Nonnull Pet pet, @Param("header1") @javax.annotation.Nullable String header1, @QueryMap FakeHttpSignatureTestQueryParams queryParams);

/**
* test http signature authentication
Expand All @@ -155,7 +155,7 @@ public interface FakeApi extends ApiClient.Api {
"Accept: application/json",
"header_1: {header1}"
})
ApiResponse<Void> fakeHttpSignatureTestWithHttpInfo(@javax.annotation.Nonnull Pet pet, @Param("header1") @javax.annotation.Nullable String header1, @QueryMap(encoded=true) FakeHttpSignatureTestQueryParams queryParams);
ApiResponse<Void> fakeHttpSignatureTestWithHttpInfo(@javax.annotation.Nonnull Pet pet, @Param("header1") @javax.annotation.Nullable String header1, @QueryMap FakeHttpSignatureTestQueryParams queryParams);


/**
Expand Down Expand Up @@ -443,7 +443,7 @@ public FakeHttpSignatureTestQueryParams query1(@javax.annotation.Nullable final
"Content-Type: application/json",
"Accept: application/json",
})
void testBodyWithQueryParams(@javax.annotation.Nonnull User user, @QueryMap(encoded=true) TestBodyWithQueryParamsQueryParams queryParams);
void testBodyWithQueryParams(@javax.annotation.Nonnull User user, @QueryMap TestBodyWithQueryParamsQueryParams queryParams);

/**
*
Expand All @@ -462,7 +462,7 @@ public FakeHttpSignatureTestQueryParams query1(@javax.annotation.Nullable final
"Content-Type: application/json",
"Accept: application/json",
})
ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@javax.annotation.Nonnull User user, @QueryMap(encoded=true) TestBodyWithQueryParamsQueryParams queryParams);
ApiResponse<Void> testBodyWithQueryParamsWithHttpInfo(@javax.annotation.Nonnull User user, @QueryMap TestBodyWithQueryParamsQueryParams queryParams);


/**
Expand Down Expand Up @@ -636,7 +636,7 @@ public TestBodyWithQueryParamsQueryParams query(@javax.annotation.Nonnull final

"enum_header_string: {enumHeaderString}"
})
void testEnumParameters(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString, @QueryMap(encoded=true) TestEnumParametersQueryParams queryParams);
void testEnumParameters(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString, @QueryMap TestEnumParametersQueryParams queryParams);

/**
* To test enum parameters
Expand Down Expand Up @@ -665,7 +665,7 @@ public TestBodyWithQueryParamsQueryParams query(@javax.annotation.Nonnull final

"enum_header_string: {enumHeaderString}"
})
ApiResponse<Void> testEnumParametersWithHttpInfo(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString, @QueryMap(encoded=true) TestEnumParametersQueryParams queryParams);
ApiResponse<Void> testEnumParametersWithHttpInfo(@Param("enumHeaderStringArray") @javax.annotation.Nullable List<String> enumHeaderStringArray, @Param("enumHeaderString") @javax.annotation.Nullable String enumHeaderString, @Param("enum_form_string_array") @javax.annotation.Nullable List<String> enumFormStringArray, @Param("enum_form_string") @javax.annotation.Nullable String enumFormString, @QueryMap TestEnumParametersQueryParams queryParams);


/**
Expand Down Expand Up @@ -761,7 +761,7 @@ public TestEnumParametersQueryParams enumQueryModelArray(@javax.annotation.Nulla

"boolean_group: {booleanGroup}"
})
void testGroupParameters(@Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @QueryMap(encoded=true) TestGroupParametersQueryParams queryParams);
void testGroupParameters(@Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @QueryMap TestGroupParametersQueryParams queryParams);

/**
* Fake endpoint to test group parameters (optional)
Expand All @@ -786,7 +786,7 @@ public TestEnumParametersQueryParams enumQueryModelArray(@javax.annotation.Nulla

"boolean_group: {booleanGroup}"
})
ApiResponse<Void> testGroupParametersWithHttpInfo(@Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @QueryMap(encoded=true) TestGroupParametersQueryParams queryParams);
ApiResponse<Void> testGroupParametersWithHttpInfo(@Param("requiredBooleanGroup") @javax.annotation.Nonnull Boolean requiredBooleanGroup, @Param("booleanGroup") @javax.annotation.Nullable Boolean booleanGroup, @QueryMap TestGroupParametersQueryParams queryParams);


/**
Expand Down Expand Up @@ -982,7 +982,7 @@ public TestGroupParametersQueryParams int64Group(@javax.annotation.Nullable fina
@Headers({
"Accept: application/json",
})
void testQueryParameterCollectionFormat(@QueryMap(encoded=true) TestQueryParameterCollectionFormatQueryParams queryParams);
void testQueryParameterCollectionFormat(@QueryMap TestQueryParameterCollectionFormatQueryParams queryParams);

/**
*
Expand All @@ -1005,7 +1005,7 @@ public TestGroupParametersQueryParams int64Group(@javax.annotation.Nullable fina
@Headers({
"Accept: application/json",
})
ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(@QueryMap(encoded=true) TestQueryParameterCollectionFormatQueryParams queryParams);
ApiResponse<Void> testQueryParameterCollectionFormatWithHttpInfo(@QueryMap TestQueryParameterCollectionFormatQueryParams queryParams);


/**
Expand Down
Loading
Loading