mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-07-08 08:30:56 +00:00
update samples
This commit is contained in:
parent
e1220071f0
commit
95eaff0a00
@ -49,6 +49,9 @@ paths:
|
||||
x-accepts: application/json
|
||||
put:
|
||||
description: ""
|
||||
externalDocs:
|
||||
description: API documentation for the updatePet operation
|
||||
url: http://petstore.swagger.io/v2/doc/updatePet
|
||||
operationId: updatePet
|
||||
requestBody:
|
||||
$ref: '#/components/requestBodies/Pet'
|
||||
|
@ -317,6 +317,8 @@ public class PetApi {
|
||||
* @param pet Pet object that needs to be added to the store (required)
|
||||
* @return Pet
|
||||
* @throws RestClientException if an error occurs while attempting to invoke the API
|
||||
* API documentation for the updatePet operation
|
||||
* @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a>
|
||||
*/
|
||||
public Pet updatePet(Pet pet) throws RestClientException {
|
||||
return updatePetWithHttpInfo(pet).getBody();
|
||||
@ -332,6 +334,8 @@ public class PetApi {
|
||||
* @param pet Pet object that needs to be added to the store (required)
|
||||
* @return ResponseEntity<Pet>
|
||||
* @throws RestClientException if an error occurs while attempting to invoke the API
|
||||
* API documentation for the updatePet operation
|
||||
* @see <a href="http://petstore.swagger.io/v2/doc/updatePet">Update an existing pet Documentation</a>
|
||||
*/
|
||||
public ResponseEntity<Pet> updatePetWithHttpInfo(Pet pet) throws RestClientException {
|
||||
Object localVarPostBody = pet;
|
||||
|
Loading…
x
Reference in New Issue
Block a user