forked from loafle/openapi-generator-original
better reserved word handling for php
This commit is contained in:
@@ -879,7 +879,7 @@ class PetApi
|
||||
}
|
||||
|
||||
/**
|
||||
* getPetByIdWithByteArray
|
||||
* petPetIdtestingByteArraytrueGet
|
||||
*
|
||||
* Fake endpoint to test byte array return by 'Find pet by ID'
|
||||
*
|
||||
@@ -887,15 +887,15 @@ class PetApi
|
||||
* @return ByteArray
|
||||
* @throws \Swagger\Client\ApiException on non-2xx response
|
||||
*/
|
||||
public function getPetByIdWithByteArray($pet_id)
|
||||
public function petPetIdtestingByteArraytrueGet($pet_id)
|
||||
{
|
||||
list($response, $statusCode, $httpHeader) = $this->getPetByIdWithByteArrayWithHttpInfo ($pet_id);
|
||||
list($response, $statusCode, $httpHeader) = $this->petPetIdtestingByteArraytrueGetWithHttpInfo ($pet_id);
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* getPetByIdWithByteArrayWithHttpInfo
|
||||
* petPetIdtestingByteArraytrueGetWithHttpInfo
|
||||
*
|
||||
* Fake endpoint to test byte array return by 'Find pet by ID'
|
||||
*
|
||||
@@ -903,12 +903,12 @@ class PetApi
|
||||
* @return Array of ByteArray, HTTP status code, HTTP response headers (array of strings)
|
||||
* @throws \Swagger\Client\ApiException on non-2xx response
|
||||
*/
|
||||
public function getPetByIdWithByteArrayWithHttpInfo($pet_id)
|
||||
public function petPetIdtestingByteArraytrueGetWithHttpInfo($pet_id)
|
||||
{
|
||||
|
||||
// verify the required parameter 'pet_id' is set
|
||||
if ($pet_id === null) {
|
||||
throw new \InvalidArgumentException('Missing the required parameter $pet_id when calling getPetByIdWithByteArray');
|
||||
throw new \InvalidArgumentException('Missing the required parameter $pet_id when calling petPetIdtestingByteArraytrueGet');
|
||||
}
|
||||
|
||||
// parse inputs
|
||||
|
||||
@@ -180,7 +180,7 @@ class StoreApi
|
||||
}
|
||||
|
||||
/**
|
||||
* placeOrder
|
||||
* callReturn
|
||||
*
|
||||
* Place an order for a pet
|
||||
*
|
||||
@@ -188,15 +188,15 @@ class StoreApi
|
||||
* @return \Swagger\Client\Model\Order
|
||||
* @throws \Swagger\Client\ApiException on non-2xx response
|
||||
*/
|
||||
public function placeOrder($body = null)
|
||||
public function callReturn($body = null)
|
||||
{
|
||||
list($response, $statusCode, $httpHeader) = $this->placeOrderWithHttpInfo ($body);
|
||||
list($response, $statusCode, $httpHeader) = $this->callReturnWithHttpInfo ($body);
|
||||
return $response;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* placeOrderWithHttpInfo
|
||||
* callReturnWithHttpInfo
|
||||
*
|
||||
* Place an order for a pet
|
||||
*
|
||||
@@ -204,7 +204,7 @@ class StoreApi
|
||||
* @return Array of \Swagger\Client\Model\Order, HTTP status code, HTTP response headers (array of strings)
|
||||
* @throws \Swagger\Client\ApiException on non-2xx response
|
||||
*/
|
||||
public function placeOrderWithHttpInfo($body = null)
|
||||
public function callReturnWithHttpInfo($body = null)
|
||||
{
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user