Skip to content

Commit 55a6d2d

Browse files
Update samples with jakarta annotations
1 parent 50e0cce commit 55a6d2d

File tree

6 files changed

+351
-351
lines changed

6 files changed

+351
-351
lines changed

samples/client/petstore/java/restclient-useSingleRequestParameter-static/src/main/java/org/openapitools/client/api/AnotherFakeApi.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void setApiClient(ApiClient apiClient) {
5454
* @return Client
5555
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
5656
*/
57-
private ResponseSpec call123testSpecialTagsRequestCreation(Client client) throws RestClientResponseException {
57+
private ResponseSpec call123testSpecialTagsRequestCreation(@jakarta.annotation.Nonnull Client client) throws RestClientResponseException {
5858
Object postBody = client;
5959
// verify the required parameter 'client' is set
6060
if (client == null) {
@@ -91,7 +91,7 @@ private ResponseSpec call123testSpecialTagsRequestCreation(Client client) throws
9191
* @return Client
9292
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
9393
*/
94-
public Client call123testSpecialTags(Client client) throws RestClientResponseException {
94+
public Client call123testSpecialTags(@jakarta.annotation.Nonnull Client client) throws RestClientResponseException {
9595
ParameterizedTypeReference<Client> localVarReturnType = new ParameterizedTypeReference<>() {};
9696
return call123testSpecialTagsRequestCreation(client).body(localVarReturnType);
9797
}
@@ -104,7 +104,7 @@ public Client call123testSpecialTags(Client client) throws RestClientResponseExc
104104
* @return ResponseEntity&lt;Client&gt;
105105
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
106106
*/
107-
public ResponseEntity<Client> call123testSpecialTagsWithHttpInfo(Client client) throws RestClientResponseException {
107+
public ResponseEntity<Client> call123testSpecialTagsWithHttpInfo(@jakarta.annotation.Nonnull Client client) throws RestClientResponseException {
108108
ParameterizedTypeReference<Client> localVarReturnType = new ParameterizedTypeReference<>() {};
109109
return call123testSpecialTagsRequestCreation(client).toEntity(localVarReturnType);
110110
}
@@ -117,7 +117,7 @@ public ResponseEntity<Client> call123testSpecialTagsWithHttpInfo(Client client)
117117
* @return ResponseSpec
118118
* @throws RestClientResponseException if an error occurs while attempting to invoke the API
119119
*/
120-
public ResponseSpec call123testSpecialTagsWithResponseSpec(Client client) throws RestClientResponseException {
120+
public ResponseSpec call123testSpecialTagsWithResponseSpec(@jakarta.annotation.Nonnull Client client) throws RestClientResponseException {
121121
return call123testSpecialTagsRequestCreation(client);
122122
}
123123
}

0 commit comments

Comments
 (0)