File tree Expand file tree Collapse file tree 2 files changed +7
-0
lines changed
samples/client/petstore/java/resttemplate-jakarta
src/main/java/org/openapitools/client/api Expand file tree Collapse file tree 2 files changed +7
-0
lines changed Original file line number Diff line number Diff line change 49
49
x-accepts : application/json
50
50
put :
51
51
description : " "
52
+ externalDocs :
53
+ description : API documentation for the updatePet operation
54
+ url : http://petstore.swagger.io/v2/doc/updatePet
52
55
operationId : updatePet
53
56
requestBody :
54
57
$ref : ' #/components/requestBodies/Pet'
Original file line number Diff line number Diff line change @@ -317,6 +317,8 @@ public ResponseEntity<Pet> getPetByIdWithHttpInfo(Long petId) throws RestClientE
317
317
* @param pet Pet object that needs to be added to the store (required)
318
318
* @return Pet
319
319
* @throws RestClientException if an error occurs while attempting to invoke the API
320
+ * API documentation for the updatePet operation
321
+ * @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a>
320
322
*/
321
323
public Pet updatePet (Pet pet ) throws RestClientException {
322
324
return updatePetWithHttpInfo (pet ).getBody ();
@@ -332,6 +334,8 @@ public Pet updatePet(Pet pet) throws RestClientException {
332
334
* @param pet Pet object that needs to be added to the store (required)
333
335
* @return ResponseEntity<Pet>
334
336
* @throws RestClientException if an error occurs while attempting to invoke the API
337
+ * API documentation for the updatePet operation
338
+ * @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a>
335
339
*/
336
340
public ResponseEntity <Pet > updatePetWithHttpInfo (Pet pet ) throws RestClientException {
337
341
Object localVarPostBody = pet ;
You can’t perform that action at this time.
0 commit comments