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 @@ -76,13 +76,7 @@ public class {{classname}} {
* {{description}}
* @see <a href="{{url}}">{{summary}} Documentation</a>
{{/externalDocs}}
{{#isDeprecated}}
* @deprecated
{{/isDeprecated}}
*/
{{#isDeprecated}}
@Deprecated
{{/isDeprecated}}
private ResponseSpec {{operationId}}RequestCreation({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.Resource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.Resource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullableArgument}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullableArgument}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException {
Object postBody = {{#bodyParam}}{{paramName}}{{/bodyParam}}{{^bodyParam}}null{{/bodyParam}};
{{#allParams}}
Expand Down Expand Up @@ -179,7 +173,13 @@ public class {{classname}} {
* {{description}}
* @see <a href="{{url}}">{{summary}} Documentation</a>
{{/externalDocs}}
{{#isDeprecated}}
* @deprecated
{{/isDeprecated}}
*/
{{#isDeprecated}}
@Deprecated
{{/isDeprecated}}
public {{#returnType}}{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}} {{/returnType}}{{^returnType}}void {{/returnType}}{{operationId}}({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.Resource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.Resource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullableArgument}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException {
{{#returnType}}ParameterizedTypeReference<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}}{{^returnType}}ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}}
{{#returnType}}return {{/returnType}}{{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).body(localVarReturnType);
Expand All @@ -196,7 +196,13 @@ public class {{classname}} {
* {{description}}
* @see <a href="{{url}}">{{summary}} Documentation</a>
{{/externalDocs}}
{{#isDeprecated}}
* @deprecated
{{/isDeprecated}}
*/
{{#isDeprecated}}
@Deprecated
{{/isDeprecated}}
public {{#returnType}}ResponseEntity<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}>{{/returnType}}{{^returnType}}ResponseEntity<Void>{{/returnType}} {{operationId}}WithHttpInfo({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.Resource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.Resource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullableArgument}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullable_var_annotations}} {{{dataType}}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException {
{{#returnType}}ParameterizedTypeReference<{{#isResponseFile}}{{#useAbstractionForFiles}}org.springframework.core.io.Resource{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{{returnType}}}{{/useAbstractionForFiles}}{{/isResponseFile}}{{^isResponseFile}}{{{returnType}}}{{/isResponseFile}}> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}}{{^returnType}}ParameterizedTypeReference<Void> localVarReturnType = new ParameterizedTypeReference<>() {};{{/returnType}}
return {{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}}).toEntity(localVarReturnType);
Expand All @@ -214,7 +220,13 @@ public class {{classname}} {
* {{description}}
* @see <a href="{{url}}">{{summary}} Documentation</a>
{{/externalDocs}}
{{#isDeprecated}}
* @deprecated
{{/isDeprecated}}
*/
{{#isDeprecated}}
@Deprecated
{{/isDeprecated}}
public ResponseSpec {{operationId}}WithResponseSpec({{#allParams}}{{#isFile}}{{#useAbstractionForFiles}}{{#collectionFormat}}java.util.Collection<org.springframework.core.io.Resource>{{/collectionFormat}}{{^collectionFormat}}org.springframework.core.io.Resource{{/collectionFormat}}{{/useAbstractionForFiles}}{{^useAbstractionForFiles}}{{>nullableArgument}}{{/useAbstractionForFiles}}{{/isFile}}{{^isFile}}{{>nullableArgument}}{{/isFile}} {{paramName}}{{^-last}}, {{/-last}}{{/allParams}}) throws RestClientResponseException {
return {{operationId}}RequestCreation({{#allParams}}{{paramName}}{{^-last}}, {{/-last}}{{/allParams}});
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,7 @@ public ResponseSpec findPetsByStatusWithResponseSpec(@jakarta.annotation.Nonnull
* @param tags Tags to filter by
* @return Set&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
private ResponseSpec findPetsByTagsRequestCreation(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'tags' is set
Expand Down Expand Up @@ -328,7 +326,9 @@ private ResponseSpec findPetsByTagsRequestCreation(@jakarta.annotation.Nonnull S
* @param tags Tags to filter by
* @return Set&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public Set<Pet> findPetsByTags(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
ParameterizedTypeReference<Set<Pet>> localVarReturnType = new ParameterizedTypeReference<>() {};
return findPetsByTagsRequestCreation(tags).body(localVarReturnType);
Expand All @@ -342,7 +342,9 @@ public Set<Pet> findPetsByTags(@jakarta.annotation.Nonnull Set<String> tags) thr
* @param tags Tags to filter by
* @return ResponseEntity&lt;Set&lt;Pet&gt;&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public ResponseEntity<Set<Pet>> findPetsByTagsWithHttpInfo(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
ParameterizedTypeReference<Set<Pet>> localVarReturnType = new ParameterizedTypeReference<>() {};
return findPetsByTagsRequestCreation(tags).toEntity(localVarReturnType);
Expand All @@ -356,7 +358,9 @@ public ResponseEntity<Set<Pet>> findPetsByTagsWithHttpInfo(@jakarta.annotation.N
* @param tags Tags to filter by
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public ResponseSpec findPetsByTagsWithResponseSpec(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
return findPetsByTagsRequestCreation(tags);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -371,9 +371,7 @@ public ResponseSpec findPetsByStatusWithResponseSpec(@jakarta.annotation.Nonnull
* @param tags Tags to filter by
* @return Set&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
private ResponseSpec findPetsByTagsRequestCreation(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'tags' is set
Expand Down Expand Up @@ -411,7 +409,9 @@ private ResponseSpec findPetsByTagsRequestCreation(@jakarta.annotation.Nonnull S
* @param tags Tags to filter by
* @return Set&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public Set<Pet> findPetsByTags(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
ParameterizedTypeReference<Set<Pet>> localVarReturnType = new ParameterizedTypeReference<>() {};
return findPetsByTagsRequestCreation(tags).body(localVarReturnType);
Expand All @@ -425,7 +425,9 @@ public Set<Pet> findPetsByTags(@jakarta.annotation.Nonnull Set<String> tags) thr
* @param tags Tags to filter by
* @return ResponseEntity&lt;Set&lt;Pet&gt;&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public ResponseEntity<Set<Pet>> findPetsByTagsWithHttpInfo(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
ParameterizedTypeReference<Set<Pet>> localVarReturnType = new ParameterizedTypeReference<>() {};
return findPetsByTagsRequestCreation(tags).toEntity(localVarReturnType);
Expand All @@ -439,7 +441,9 @@ public ResponseEntity<Set<Pet>> findPetsByTagsWithHttpInfo(@jakarta.annotation.N
* @param tags Tags to filter by
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public ResponseSpec findPetsByTagsWithResponseSpec(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
return findPetsByTagsRequestCreation(tags);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -327,9 +327,7 @@ public ResponseSpec findPetsByStatusWithResponseSpec(@jakarta.annotation.Nonnull
* @param tags Tags to filter by
* @return Set&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
private ResponseSpec findPetsByTagsRequestCreation(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'tags' is set
Expand Down Expand Up @@ -367,7 +365,9 @@ private ResponseSpec findPetsByTagsRequestCreation(@jakarta.annotation.Nonnull S
* @param tags Tags to filter by
* @return Set&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public Set<Pet> findPetsByTags(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
ParameterizedTypeReference<Set<Pet>> localVarReturnType = new ParameterizedTypeReference<>() {};
return findPetsByTagsRequestCreation(tags).body(localVarReturnType);
Expand All @@ -381,7 +381,9 @@ public Set<Pet> findPetsByTags(@jakarta.annotation.Nonnull Set<String> tags) thr
* @param tags Tags to filter by
* @return ResponseEntity&lt;Set&lt;Pet&gt;&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public ResponseEntity<Set<Pet>> findPetsByTagsWithHttpInfo(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
ParameterizedTypeReference<Set<Pet>> localVarReturnType = new ParameterizedTypeReference<>() {};
return findPetsByTagsRequestCreation(tags).toEntity(localVarReturnType);
Expand All @@ -395,7 +397,9 @@ public ResponseEntity<Set<Pet>> findPetsByTagsWithHttpInfo(@jakarta.annotation.N
* @param tags Tags to filter by
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public ResponseSpec findPetsByTagsWithResponseSpec(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
return findPetsByTagsRequestCreation(tags);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -288,9 +288,7 @@ public ResponseSpec findPetsByStatusWithResponseSpec(@jakarta.annotation.Nonnull
* @param tags Tags to filter by
* @return Set&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
private ResponseSpec findPetsByTagsRequestCreation(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
Object postBody = null;
// verify the required parameter 'tags' is set
Expand Down Expand Up @@ -328,7 +326,9 @@ private ResponseSpec findPetsByTagsRequestCreation(@jakarta.annotation.Nonnull S
* @param tags Tags to filter by
* @return Set&lt;Pet&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public Set<Pet> findPetsByTags(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
ParameterizedTypeReference<Set<Pet>> localVarReturnType = new ParameterizedTypeReference<>() {};
return findPetsByTagsRequestCreation(tags).body(localVarReturnType);
Expand All @@ -342,7 +342,9 @@ public Set<Pet> findPetsByTags(@jakarta.annotation.Nonnull Set<String> tags) thr
* @param tags Tags to filter by
* @return ResponseEntity&lt;Set&lt;Pet&gt;&gt;
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public ResponseEntity<Set<Pet>> findPetsByTagsWithHttpInfo(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
ParameterizedTypeReference<Set<Pet>> localVarReturnType = new ParameterizedTypeReference<>() {};
return findPetsByTagsRequestCreation(tags).toEntity(localVarReturnType);
Expand All @@ -356,7 +358,9 @@ public ResponseEntity<Set<Pet>> findPetsByTagsWithHttpInfo(@jakarta.annotation.N
* @param tags Tags to filter by
* @return ResponseSpec
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
* @deprecated
*/
@Deprecated
public ResponseSpec findPetsByTagsWithResponseSpec(@jakarta.annotation.Nonnull Set<String> tags) throws RestClientResponseException {
return findPetsByTagsRequestCreation(tags);
}
Expand Down
Loading