forked from loafle/openapi-generator-original
update php sample
This commit is contained in:
parent
02ac7d93c5
commit
290957f6c8
@ -3,9 +3,9 @@ This is a sample server Petstore server. You can find out more about Swagger at
|
||||
|
||||
This PHP package is automatically generated by the [Swagger Codegen](https://github.com/swagger-api/swagger-codegen) project:
|
||||
|
||||
- API verion: 1.0.0
|
||||
- API version: 1.0.0
|
||||
- Package version: 1.0.0
|
||||
- Build date: 2016-03-29T20:55:19.032+08:00
|
||||
- Build date: 2016-04-09T18:00:55.578+08:00
|
||||
- Build package: class io.swagger.codegen.languages.PhpClientCodegen
|
||||
|
||||
## Requirements
|
||||
@ -80,20 +80,20 @@ All URIs are relative to *http://petstore.swagger.io/v2*
|
||||
Class | Method | HTTP request | Description
|
||||
------------ | ------------- | ------------- | -------------
|
||||
*PetApi* | [**addPet**](docs/PetApi.md#addpet) | **POST** /pet | Add a new pet to the store
|
||||
*PetApi* | [**addPetUsingByteArray**](docs/PetApi.md#addpetusingbytearray) | **POST** /pet?testing_byte_array=true | Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||
*PetApi* | [**addPetUsingByteArray**](docs/PetApi.md#addpetusingbytearray) | **POST** /pet?testing_byte_array=true | Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||
*PetApi* | [**deletePet**](docs/PetApi.md#deletepet) | **DELETE** /pet/{petId} | Deletes a pet
|
||||
*PetApi* | [**findPetsByStatus**](docs/PetApi.md#findpetsbystatus) | **GET** /pet/findByStatus | Finds Pets by status
|
||||
*PetApi* | [**findPetsByTags**](docs/PetApi.md#findpetsbytags) | **GET** /pet/findByTags | Finds Pets by tags
|
||||
*PetApi* | [**getPetById**](docs/PetApi.md#getpetbyid) | **GET** /pet/{petId} | Find pet by ID
|
||||
*PetApi* | [**getPetByIdInObject**](docs/PetApi.md#getpetbyidinobject) | **GET** /pet/{petId}?response=inline_arbitrary_object | Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
||||
*PetApi* | [**petPetIdtestingByteArraytrueGet**](docs/PetApi.md#petpetidtestingbytearraytrueget) | **GET** /pet/{petId}?testing_byte_array=true | Fake endpoint to test byte array return by 'Find pet by ID'
|
||||
*PetApi* | [**getPetByIdInObject**](docs/PetApi.md#getpetbyidinobject) | **GET** /pet/{petId}?response=inline_arbitrary_object | Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
||||
*PetApi* | [**petPetIdtestingByteArraytrueGet**](docs/PetApi.md#petpetidtestingbytearraytrueget) | **GET** /pet/{petId}?testing_byte_array=true | Fake endpoint to test byte array return by 'Find pet by ID'
|
||||
*PetApi* | [**updatePet**](docs/PetApi.md#updatepet) | **PUT** /pet | Update an existing pet
|
||||
*PetApi* | [**updatePetWithForm**](docs/PetApi.md#updatepetwithform) | **POST** /pet/{petId} | Updates a pet in the store with form data
|
||||
*PetApi* | [**uploadFile**](docs/PetApi.md#uploadfile) | **POST** /pet/{petId}/uploadImage | uploads an image
|
||||
*StoreApi* | [**deleteOrder**](docs/StoreApi.md#deleteorder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
|
||||
*StoreApi* | [**findOrdersByStatus**](docs/StoreApi.md#findordersbystatus) | **GET** /store/findByStatus | Finds orders by status
|
||||
*StoreApi* | [**getInventory**](docs/StoreApi.md#getinventory) | **GET** /store/inventory | Returns pet inventories by status
|
||||
*StoreApi* | [**getInventoryInObject**](docs/StoreApi.md#getinventoryinobject) | **GET** /store/inventory?response=arbitrary_object | Fake endpoint to test arbitrary object return by 'Get inventory'
|
||||
*StoreApi* | [**getInventoryInObject**](docs/StoreApi.md#getinventoryinobject) | **GET** /store/inventory?response=arbitrary_object | Fake endpoint to test arbitrary object return by 'Get inventory'
|
||||
*StoreApi* | [**getOrderById**](docs/StoreApi.md#getorderbyid) | **GET** /store/order/{orderId} | Find purchase order by ID
|
||||
*StoreApi* | [**placeOrder**](docs/StoreApi.md#placeorder) | **POST** /store/order | Place an order for a pet
|
||||
*UserApi* | [**createUser**](docs/UserApi.md#createuser) | **POST** /user | Create user
|
||||
|
@ -5,13 +5,13 @@ All URIs are relative to *http://petstore.swagger.io/v2*
|
||||
Method | HTTP request | Description
|
||||
------------- | ------------- | -------------
|
||||
[**addPet**](PetApi.md#addPet) | **POST** /pet | Add a new pet to the store
|
||||
[**addPetUsingByteArray**](PetApi.md#addPetUsingByteArray) | **POST** /pet?testing_byte_array=true | Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||
[**addPetUsingByteArray**](PetApi.md#addPetUsingByteArray) | **POST** /pet?testing_byte_array=true | Fake endpoint to test byte array in body parameter for adding a new pet to the store
|
||||
[**deletePet**](PetApi.md#deletePet) | **DELETE** /pet/{petId} | Deletes a pet
|
||||
[**findPetsByStatus**](PetApi.md#findPetsByStatus) | **GET** /pet/findByStatus | Finds Pets by status
|
||||
[**findPetsByTags**](PetApi.md#findPetsByTags) | **GET** /pet/findByTags | Finds Pets by tags
|
||||
[**getPetById**](PetApi.md#getPetById) | **GET** /pet/{petId} | Find pet by ID
|
||||
[**getPetByIdInObject**](PetApi.md#getPetByIdInObject) | **GET** /pet/{petId}?response=inline_arbitrary_object | Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
||||
[**petPetIdtestingByteArraytrueGet**](PetApi.md#petPetIdtestingByteArraytrueGet) | **GET** /pet/{petId}?testing_byte_array=true | Fake endpoint to test byte array return by 'Find pet by ID'
|
||||
[**getPetByIdInObject**](PetApi.md#getPetByIdInObject) | **GET** /pet/{petId}?response=inline_arbitrary_object | Fake endpoint to test inline arbitrary object return by 'Find pet by ID'
|
||||
[**petPetIdtestingByteArraytrueGet**](PetApi.md#petPetIdtestingByteArraytrueGet) | **GET** /pet/{petId}?testing_byte_array=true | Fake endpoint to test byte array return by 'Find pet by ID'
|
||||
[**updatePet**](PetApi.md#updatePet) | **PUT** /pet | Update an existing pet
|
||||
[**updatePetWithForm**](PetApi.md#updatePetWithForm) | **POST** /pet/{petId} | Updates a pet in the store with form data
|
||||
[**uploadFile**](PetApi.md#uploadFile) | **POST** /pet/{petId}/uploadImage | uploads an image
|
||||
|
@ -7,7 +7,7 @@ Method | HTTP request | Description
|
||||
[**deleteOrder**](StoreApi.md#deleteOrder) | **DELETE** /store/order/{orderId} | Delete purchase order by ID
|
||||
[**findOrdersByStatus**](StoreApi.md#findOrdersByStatus) | **GET** /store/findByStatus | Finds orders by status
|
||||
[**getInventory**](StoreApi.md#getInventory) | **GET** /store/inventory | Returns pet inventories by status
|
||||
[**getInventoryInObject**](StoreApi.md#getInventoryInObject) | **GET** /store/inventory?response=arbitrary_object | Fake endpoint to test arbitrary object return by 'Get inventory'
|
||||
[**getInventoryInObject**](StoreApi.md#getInventoryInObject) | **GET** /store/inventory?response=arbitrary_object | Fake endpoint to test arbitrary object return by 'Get inventory'
|
||||
[**getOrderById**](StoreApi.md#getOrderById) | **GET** /store/order/{orderId} | Find purchase order by ID
|
||||
[**placeOrder**](StoreApi.md#placeOrder) | **POST** /store/order | Place an order for a pet
|
||||
|
||||
|
@ -222,7 +222,7 @@ try {
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**username** | **string**| The name that needs to be fetched. Use user1 for testing. |
|
||||
**username** | **string**| The name that needs to be fetched. Use user1 for testing. |
|
||||
|
||||
### Return type
|
||||
|
||||
|
@ -90,7 +90,6 @@ class PetApi
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* addPet
|
||||
*
|
||||
@ -156,7 +155,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -166,7 +164,6 @@ class PetApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -174,7 +171,6 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* addPetUsingByteArray
|
||||
*
|
||||
@ -205,7 +201,7 @@ class PetApi
|
||||
|
||||
|
||||
// parse inputs
|
||||
$resourcePath = "/pet?testing_byte_array=true";
|
||||
$resourcePath = "/pet?testing_byte_array=true";
|
||||
$httpBody = '';
|
||||
$queryParams = array();
|
||||
$headerParams = array();
|
||||
@ -240,7 +236,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -250,7 +245,6 @@ class PetApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -258,7 +252,6 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* deletePet
|
||||
*
|
||||
@ -308,12 +301,10 @@ class PetApi
|
||||
|
||||
|
||||
// header params
|
||||
|
||||
if ($api_key !== null) {
|
||||
$headerParams['api_key'] = $this->apiClient->getSerializer()->toHeaderValue($api_key);
|
||||
}
|
||||
// path params
|
||||
|
||||
if ($pet_id !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "petId" . "}",
|
||||
@ -338,7 +329,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -348,7 +338,6 @@ class PetApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -356,7 +345,6 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* findPetsByStatus
|
||||
*
|
||||
@ -399,11 +387,9 @@ class PetApi
|
||||
$headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(array());
|
||||
|
||||
// query params
|
||||
|
||||
if (is_array($status)) {
|
||||
$status = $this->apiClient->getSerializer()->serializeCollection($status, 'multi', true);
|
||||
}
|
||||
|
||||
if ($status !== null) {
|
||||
$queryParams['status'] = $this->apiClient->getSerializer()->toQueryValue($status);
|
||||
}
|
||||
@ -426,7 +412,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -434,14 +419,12 @@ class PetApi
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, '\Swagger\Client\Model\Pet[]'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Pet[]', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\Pet[]', $e->getResponseHeaders());
|
||||
@ -452,7 +435,6 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* findPetsByTags
|
||||
*
|
||||
@ -495,11 +477,9 @@ class PetApi
|
||||
$headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(array());
|
||||
|
||||
// query params
|
||||
|
||||
if (is_array($tags)) {
|
||||
$tags = $this->apiClient->getSerializer()->serializeCollection($tags, 'multi', true);
|
||||
}
|
||||
|
||||
if ($tags !== null) {
|
||||
$queryParams['tags'] = $this->apiClient->getSerializer()->toQueryValue($tags);
|
||||
}
|
||||
@ -522,7 +502,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -530,14 +509,12 @@ class PetApi
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, '\Swagger\Client\Model\Pet[]'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Pet[]', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\Pet[]', $e->getResponseHeaders());
|
||||
@ -548,7 +525,6 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* getPetById
|
||||
*
|
||||
@ -597,7 +573,6 @@ class PetApi
|
||||
|
||||
|
||||
// path params
|
||||
|
||||
if ($pet_id !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "petId" . "}",
|
||||
@ -629,7 +604,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -637,14 +611,12 @@ class PetApi
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, '\Swagger\Client\Model\Pet'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Pet', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\Pet', $e->getResponseHeaders());
|
||||
@ -655,7 +627,6 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* getPetByIdInObject
|
||||
*
|
||||
@ -690,7 +661,7 @@ class PetApi
|
||||
}
|
||||
|
||||
// parse inputs
|
||||
$resourcePath = "/pet/{petId}?response=inline_arbitrary_object";
|
||||
$resourcePath = "/pet/{petId}?response=inline_arbitrary_object";
|
||||
$httpBody = '';
|
||||
$queryParams = array();
|
||||
$headerParams = array();
|
||||
@ -704,7 +675,6 @@ class PetApi
|
||||
|
||||
|
||||
// path params
|
||||
|
||||
if ($pet_id !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "petId" . "}",
|
||||
@ -736,7 +706,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -744,14 +713,12 @@ class PetApi
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, '\Swagger\Client\Model\InlineResponse200'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\InlineResponse200', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\InlineResponse200', $e->getResponseHeaders());
|
||||
@ -762,7 +729,6 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* petPetIdtestingByteArraytrueGet
|
||||
*
|
||||
@ -797,7 +763,7 @@ class PetApi
|
||||
}
|
||||
|
||||
// parse inputs
|
||||
$resourcePath = "/pet/{petId}?testing_byte_array=true";
|
||||
$resourcePath = "/pet/{petId}?testing_byte_array=true";
|
||||
$httpBody = '';
|
||||
$queryParams = array();
|
||||
$headerParams = array();
|
||||
@ -811,7 +777,6 @@ class PetApi
|
||||
|
||||
|
||||
// path params
|
||||
|
||||
if ($pet_id !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "petId" . "}",
|
||||
@ -843,7 +808,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -851,14 +815,12 @@ class PetApi
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, 'string'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, 'string', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), 'string', $e->getResponseHeaders());
|
||||
@ -869,7 +831,6 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* updatePet
|
||||
*
|
||||
@ -935,7 +896,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -945,7 +905,6 @@ class PetApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -953,7 +912,6 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* updatePetWithForm
|
||||
*
|
||||
@ -1006,7 +964,6 @@ class PetApi
|
||||
|
||||
|
||||
// path params
|
||||
|
||||
if ($pet_id !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "petId" . "}",
|
||||
@ -1019,16 +976,10 @@ class PetApi
|
||||
|
||||
// form params
|
||||
if ($name !== null) {
|
||||
|
||||
|
||||
$formParams['name'] = $this->apiClient->getSerializer()->toFormValue($name);
|
||||
|
||||
}// form params
|
||||
if ($status !== null) {
|
||||
|
||||
|
||||
$formParams['status'] = $this->apiClient->getSerializer()->toFormValue($status);
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1043,7 +994,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -1053,7 +1003,6 @@ class PetApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -1061,7 +1010,6 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* uploadFile
|
||||
*
|
||||
@ -1114,7 +1062,6 @@ class PetApi
|
||||
|
||||
|
||||
// path params
|
||||
|
||||
if ($pet_id !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "petId" . "}",
|
||||
@ -1127,13 +1074,9 @@ class PetApi
|
||||
|
||||
// form params
|
||||
if ($additional_metadata !== null) {
|
||||
|
||||
|
||||
$formParams['additionalMetadata'] = $this->apiClient->getSerializer()->toFormValue($additional_metadata);
|
||||
|
||||
}// form params
|
||||
if ($file !== null) {
|
||||
|
||||
// PHP 5.5 introduced a CurlFile object that deprecates the old @filename syntax
|
||||
// See: https://wiki.php.net/rfc/curl-file-upload
|
||||
if (function_exists('curl_file_create')) {
|
||||
@ -1141,8 +1084,6 @@ class PetApi
|
||||
} else {
|
||||
$formParams['file'] = '@' . $this->apiClient->getSerializer()->toFormValue($file);
|
||||
}
|
||||
|
||||
|
||||
}
|
||||
|
||||
|
||||
@ -1157,7 +1098,6 @@ class PetApi
|
||||
if (strlen($this->apiClient->getConfig()->getAccessToken()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Bearer ' . $this->apiClient->getConfig()->getAccessToken();
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -1167,7 +1107,6 @@ class PetApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -1175,5 +1114,4 @@ class PetApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -90,7 +90,6 @@ class StoreApi
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* deleteOrder
|
||||
*
|
||||
@ -139,7 +138,6 @@ class StoreApi
|
||||
|
||||
|
||||
// path params
|
||||
|
||||
if ($order_id !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "orderId" . "}",
|
||||
@ -159,8 +157,7 @@ class StoreApi
|
||||
} elseif (count($formParams) > 0) {
|
||||
$httpBody = $formParams; // for HTTP post (form)
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
$resourcePath, 'DELETE',
|
||||
@ -169,7 +166,6 @@ class StoreApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -177,7 +173,6 @@ class StoreApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* findOrdersByStatus
|
||||
*
|
||||
@ -220,7 +215,6 @@ class StoreApi
|
||||
$headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(array());
|
||||
|
||||
// query params
|
||||
|
||||
if ($status !== null) {
|
||||
$queryParams['status'] = $this->apiClient->getSerializer()->toQueryValue($status);
|
||||
}
|
||||
@ -252,7 +246,6 @@ class StoreApi
|
||||
$headerParams['x-test_api_client_secret'] = $apiKey;
|
||||
}
|
||||
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -260,14 +253,12 @@ class StoreApi
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, '\Swagger\Client\Model\Order[]'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Order[]', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\Order[]', $e->getResponseHeaders());
|
||||
@ -278,7 +269,6 @@ class StoreApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* getInventory
|
||||
*
|
||||
@ -340,7 +330,6 @@ class StoreApi
|
||||
$headerParams['api_key'] = $apiKey;
|
||||
}
|
||||
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -348,14 +337,12 @@ class StoreApi
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, 'map[string,int]'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, 'map[string,int]', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), 'map[string,int]', $e->getResponseHeaders());
|
||||
@ -366,7 +353,6 @@ class StoreApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* getInventoryInObject
|
||||
*
|
||||
@ -395,7 +381,7 @@ class StoreApi
|
||||
|
||||
|
||||
// parse inputs
|
||||
$resourcePath = "/store/inventory?response=arbitrary_object";
|
||||
$resourcePath = "/store/inventory?response=arbitrary_object";
|
||||
$httpBody = '';
|
||||
$queryParams = array();
|
||||
$headerParams = array();
|
||||
@ -428,7 +414,6 @@ class StoreApi
|
||||
$headerParams['api_key'] = $apiKey;
|
||||
}
|
||||
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -436,14 +421,12 @@ class StoreApi
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, 'object'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, 'object', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), 'object', $e->getResponseHeaders());
|
||||
@ -454,7 +437,6 @@ class StoreApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* getOrderById
|
||||
*
|
||||
@ -503,7 +485,6 @@ class StoreApi
|
||||
|
||||
|
||||
// path params
|
||||
|
||||
if ($order_id !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "orderId" . "}",
|
||||
@ -537,7 +518,6 @@ class StoreApi
|
||||
$queryParams['test_api_key_query'] = $apiKey;
|
||||
}
|
||||
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -545,14 +525,12 @@ class StoreApi
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, '\Swagger\Client\Model\Order'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Order', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\Order', $e->getResponseHeaders());
|
||||
@ -563,7 +541,6 @@ class StoreApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* placeOrder
|
||||
*
|
||||
@ -638,7 +615,6 @@ class StoreApi
|
||||
$headerParams['x-test_api_client_secret'] = $apiKey;
|
||||
}
|
||||
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -646,14 +622,12 @@ class StoreApi
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, '\Swagger\Client\Model\Order'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Order', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\Order', $e->getResponseHeaders());
|
||||
@ -664,5 +638,4 @@ class StoreApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -90,7 +90,6 @@ class UserApi
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* createUser
|
||||
*
|
||||
@ -151,8 +150,7 @@ class UserApi
|
||||
} elseif (count($formParams) > 0) {
|
||||
$httpBody = $formParams; // for HTTP post (form)
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
$resourcePath, 'POST',
|
||||
@ -161,7 +159,6 @@ class UserApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -169,7 +166,6 @@ class UserApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* createUsersWithArrayInput
|
||||
*
|
||||
@ -230,8 +226,7 @@ class UserApi
|
||||
} elseif (count($formParams) > 0) {
|
||||
$httpBody = $formParams; // for HTTP post (form)
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
$resourcePath, 'POST',
|
||||
@ -240,7 +235,6 @@ class UserApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -248,7 +242,6 @@ class UserApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* createUsersWithListInput
|
||||
*
|
||||
@ -309,8 +302,7 @@ class UserApi
|
||||
} elseif (count($formParams) > 0) {
|
||||
$httpBody = $formParams; // for HTTP post (form)
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
$resourcePath, 'POST',
|
||||
@ -319,7 +311,6 @@ class UserApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -327,7 +318,6 @@ class UserApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* deleteUser
|
||||
*
|
||||
@ -376,7 +366,6 @@ class UserApi
|
||||
|
||||
|
||||
// path params
|
||||
|
||||
if ($username !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "username" . "}",
|
||||
@ -401,7 +390,6 @@ class UserApi
|
||||
if (strlen($this->apiClient->getConfig()->getUsername()) !== 0 or strlen($this->apiClient->getConfig()->getPassword()) !== 0) {
|
||||
$headerParams['Authorization'] = 'Basic ' . base64_encode($this->apiClient->getConfig()->getUsername() . ":" . $this->apiClient->getConfig()->getPassword());
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
@ -411,7 +399,6 @@ class UserApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -419,13 +406,12 @@ class UserApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* getUserByName
|
||||
*
|
||||
* Get user by user name
|
||||
*
|
||||
* @param string $username The name that needs to be fetched. Use user1 for testing. (required)
|
||||
* @param string $username The name that needs to be fetched. Use user1 for testing. (required)
|
||||
* @return \Swagger\Client\Model\User
|
||||
* @throws \Swagger\Client\ApiException on non-2xx response
|
||||
*/
|
||||
@ -441,7 +427,7 @@ class UserApi
|
||||
*
|
||||
* Get user by user name
|
||||
*
|
||||
* @param string $username The name that needs to be fetched. Use user1 for testing. (required)
|
||||
* @param string $username The name that needs to be fetched. Use user1 for testing. (required)
|
||||
* @return Array of \Swagger\Client\Model\User, HTTP status code, HTTP response headers (array of strings)
|
||||
* @throws \Swagger\Client\ApiException on non-2xx response
|
||||
*/
|
||||
@ -468,7 +454,6 @@ class UserApi
|
||||
|
||||
|
||||
// path params
|
||||
|
||||
if ($username !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "username" . "}",
|
||||
@ -488,22 +473,19 @@ class UserApi
|
||||
} elseif (count($formParams) > 0) {
|
||||
$httpBody = $formParams; // for HTTP post (form)
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
$resourcePath, 'GET',
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, '\Swagger\Client\Model\User'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\User', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), '\Swagger\Client\Model\User', $e->getResponseHeaders());
|
||||
@ -514,7 +496,6 @@ class UserApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* loginUser
|
||||
*
|
||||
@ -559,11 +540,9 @@ class UserApi
|
||||
$headerParams['Content-Type'] = $this->apiClient->selectHeaderContentType(array());
|
||||
|
||||
// query params
|
||||
|
||||
if ($username !== null) {
|
||||
$queryParams['username'] = $this->apiClient->getSerializer()->toQueryValue($username);
|
||||
}// query params
|
||||
|
||||
if ($password !== null) {
|
||||
$queryParams['password'] = $this->apiClient->getSerializer()->toQueryValue($password);
|
||||
}
|
||||
@ -581,22 +560,19 @@ class UserApi
|
||||
} elseif (count($formParams) > 0) {
|
||||
$httpBody = $formParams; // for HTTP post (form)
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
$resourcePath, 'GET',
|
||||
$queryParams, $httpBody,
|
||||
$headerParams, 'string'
|
||||
);
|
||||
|
||||
if (!$response) {
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
}
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, 'string', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
case 200:
|
||||
$data = $this->apiClient->getSerializer()->deserialize($e->getResponseBody(), 'string', $e->getResponseHeaders());
|
||||
@ -607,7 +583,6 @@ class UserApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* logoutUser
|
||||
*
|
||||
@ -662,8 +637,7 @@ class UserApi
|
||||
} elseif (count($formParams) > 0) {
|
||||
$httpBody = $formParams; // for HTTP post (form)
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
$resourcePath, 'GET',
|
||||
@ -672,7 +646,6 @@ class UserApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -680,7 +653,6 @@ class UserApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* updateUser
|
||||
*
|
||||
@ -731,7 +703,6 @@ class UserApi
|
||||
|
||||
|
||||
// path params
|
||||
|
||||
if ($username !== null) {
|
||||
$resourcePath = str_replace(
|
||||
"{" . "username" . "}",
|
||||
@ -755,8 +726,7 @@ class UserApi
|
||||
} elseif (count($formParams) > 0) {
|
||||
$httpBody = $formParams; // for HTTP post (form)
|
||||
}
|
||||
|
||||
// make the API Call
|
||||
// make the API Call
|
||||
try {
|
||||
list($response, $statusCode, $httpHeader) = $this->apiClient->callApi(
|
||||
$resourcePath, 'PUT',
|
||||
@ -765,7 +735,6 @@ class UserApi
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
} catch (ApiException $e) {
|
||||
switch ($e->getCode()) {
|
||||
}
|
||||
@ -773,5 +742,4 @@ class UserApi
|
||||
throw $e;
|
||||
}
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -94,14 +94,12 @@ class Animal implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $class_name
|
||||
* @var string
|
||||
*/
|
||||
protected $class_name;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -113,7 +111,6 @@ class Animal implements ArrayAccess
|
||||
$this->class_name = $data["class_name"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets class_name
|
||||
* @return string
|
||||
@ -134,7 +131,6 @@ class Animal implements ArrayAccess
|
||||
$this->class_name = $class_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -94,14 +94,12 @@ class Cat extends Animal implements ArrayAccess
|
||||
return parent::getters() + self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $declawed
|
||||
* @var bool
|
||||
*/
|
||||
protected $declawed;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -113,7 +111,6 @@ class Cat extends Animal implements ArrayAccess
|
||||
$this->declawed = $data["declawed"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets declawed
|
||||
* @return bool
|
||||
@ -134,7 +131,6 @@ class Cat extends Animal implements ArrayAccess
|
||||
$this->declawed = $declawed;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -98,20 +98,17 @@ class Category implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $id
|
||||
* @var int
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* $name
|
||||
* @var string
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -124,7 +121,6 @@ class Category implements ArrayAccess
|
||||
$this->name = $data["name"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets id
|
||||
* @return int
|
||||
@ -145,7 +141,6 @@ class Category implements ArrayAccess
|
||||
$this->id = $id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets name
|
||||
* @return string
|
||||
@ -166,7 +161,6 @@ class Category implements ArrayAccess
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -94,14 +94,12 @@ class Dog extends Animal implements ArrayAccess
|
||||
return parent::getters() + self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $breed
|
||||
* @var string
|
||||
*/
|
||||
protected $breed;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -113,7 +111,6 @@ class Dog extends Animal implements ArrayAccess
|
||||
$this->breed = $data["breed"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets breed
|
||||
* @return string
|
||||
@ -134,7 +131,6 @@ class Dog extends Animal implements ArrayAccess
|
||||
$this->breed = $breed;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -114,44 +114,37 @@ class InlineResponse200 implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $tags
|
||||
* @var \Swagger\Client\Model\Tag[]
|
||||
*/
|
||||
protected $tags;
|
||||
|
||||
/**
|
||||
* $id
|
||||
* @var int
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* $category
|
||||
* @var object
|
||||
*/
|
||||
protected $category;
|
||||
|
||||
/**
|
||||
* $status pet status in the store
|
||||
* @var string
|
||||
*/
|
||||
protected $status;
|
||||
|
||||
/**
|
||||
* $name
|
||||
* @var string
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
/**
|
||||
* $photo_urls
|
||||
* @var string[]
|
||||
*/
|
||||
protected $photo_urls;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -168,7 +161,6 @@ class InlineResponse200 implements ArrayAccess
|
||||
$this->photo_urls = $data["photo_urls"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets tags
|
||||
* @return \Swagger\Client\Model\Tag[]
|
||||
@ -189,7 +181,6 @@ class InlineResponse200 implements ArrayAccess
|
||||
$this->tags = $tags;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets id
|
||||
* @return int
|
||||
@ -210,7 +201,6 @@ class InlineResponse200 implements ArrayAccess
|
||||
$this->id = $id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets category
|
||||
* @return object
|
||||
@ -231,7 +221,6 @@ class InlineResponse200 implements ArrayAccess
|
||||
$this->category = $category;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets status
|
||||
* @return string
|
||||
@ -255,7 +244,6 @@ class InlineResponse200 implements ArrayAccess
|
||||
$this->status = $status;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets name
|
||||
* @return string
|
||||
@ -276,7 +264,6 @@ class InlineResponse200 implements ArrayAccess
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets photo_urls
|
||||
* @return string[]
|
||||
@ -297,7 +284,6 @@ class InlineResponse200 implements ArrayAccess
|
||||
$this->photo_urls = $photo_urls;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -38,7 +38,7 @@ use \ArrayAccess;
|
||||
* Model200Response Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description
|
||||
* @description Model for testing model name starting with number
|
||||
* @package Swagger\Client
|
||||
* @author http://github.com/swagger-api/swagger-codegen
|
||||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
||||
@ -94,14 +94,12 @@ class Model200Response implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $name
|
||||
* @var int
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -113,7 +111,6 @@ class Model200Response implements ArrayAccess
|
||||
$this->name = $data["name"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets name
|
||||
* @return int
|
||||
@ -134,7 +131,6 @@ class Model200Response implements ArrayAccess
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -38,7 +38,7 @@ use \ArrayAccess;
|
||||
* ModelReturn Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description
|
||||
* @description Model for testing reserved words
|
||||
* @package Swagger\Client
|
||||
* @author http://github.com/swagger-api/swagger-codegen
|
||||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
||||
@ -94,14 +94,12 @@ class ModelReturn implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $return
|
||||
* @var int
|
||||
*/
|
||||
protected $return;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -113,7 +111,6 @@ class ModelReturn implements ArrayAccess
|
||||
$this->return = $data["return"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets return
|
||||
* @return int
|
||||
@ -134,7 +131,6 @@ class ModelReturn implements ArrayAccess
|
||||
$this->return = $return;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -38,7 +38,7 @@ use \ArrayAccess;
|
||||
* Name Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description
|
||||
* @description Model for testing model name same as property name
|
||||
* @package Swagger\Client
|
||||
* @author http://github.com/swagger-api/swagger-codegen
|
||||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
||||
@ -98,20 +98,17 @@ class Name implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $name
|
||||
* @var int
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
/**
|
||||
* $snake_case
|
||||
* @var int
|
||||
*/
|
||||
protected $snake_case;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -124,7 +121,6 @@ class Name implements ArrayAccess
|
||||
$this->snake_case = $data["snake_case"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets name
|
||||
* @return int
|
||||
@ -145,7 +141,6 @@ class Name implements ArrayAccess
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets snake_case
|
||||
* @return int
|
||||
@ -166,7 +161,6 @@ class Name implements ArrayAccess
|
||||
$this->snake_case = $snake_case;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -114,44 +114,37 @@ class Order implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $id
|
||||
* @var int
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* $pet_id
|
||||
* @var int
|
||||
*/
|
||||
protected $pet_id;
|
||||
|
||||
/**
|
||||
* $quantity
|
||||
* @var int
|
||||
*/
|
||||
protected $quantity;
|
||||
|
||||
/**
|
||||
* $ship_date
|
||||
* @var \DateTime
|
||||
*/
|
||||
protected $ship_date;
|
||||
|
||||
/**
|
||||
* $status Order Status
|
||||
* @var string
|
||||
*/
|
||||
protected $status;
|
||||
|
||||
/**
|
||||
* $complete
|
||||
* @var bool
|
||||
*/
|
||||
protected $complete;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -168,7 +161,6 @@ class Order implements ArrayAccess
|
||||
$this->complete = $data["complete"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets id
|
||||
* @return int
|
||||
@ -189,7 +181,6 @@ class Order implements ArrayAccess
|
||||
$this->id = $id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets pet_id
|
||||
* @return int
|
||||
@ -210,7 +201,6 @@ class Order implements ArrayAccess
|
||||
$this->pet_id = $pet_id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets quantity
|
||||
* @return int
|
||||
@ -231,7 +221,6 @@ class Order implements ArrayAccess
|
||||
$this->quantity = $quantity;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets ship_date
|
||||
* @return \DateTime
|
||||
@ -252,7 +241,6 @@ class Order implements ArrayAccess
|
||||
$this->ship_date = $ship_date;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets status
|
||||
* @return string
|
||||
@ -276,7 +264,6 @@ class Order implements ArrayAccess
|
||||
$this->status = $status;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets complete
|
||||
* @return bool
|
||||
@ -297,7 +284,6 @@ class Order implements ArrayAccess
|
||||
$this->complete = $complete;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -114,44 +114,37 @@ class Pet implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $id
|
||||
* @var int
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* $category
|
||||
* @var \Swagger\Client\Model\Category
|
||||
*/
|
||||
protected $category;
|
||||
|
||||
/**
|
||||
* $name
|
||||
* @var string
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
/**
|
||||
* $photo_urls
|
||||
* @var string[]
|
||||
*/
|
||||
protected $photo_urls;
|
||||
|
||||
/**
|
||||
* $tags
|
||||
* @var \Swagger\Client\Model\Tag[]
|
||||
*/
|
||||
protected $tags;
|
||||
|
||||
/**
|
||||
* $status pet status in the store
|
||||
* @var string
|
||||
*/
|
||||
protected $status;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -168,7 +161,6 @@ class Pet implements ArrayAccess
|
||||
$this->status = $data["status"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets id
|
||||
* @return int
|
||||
@ -189,7 +181,6 @@ class Pet implements ArrayAccess
|
||||
$this->id = $id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets category
|
||||
* @return \Swagger\Client\Model\Category
|
||||
@ -210,7 +201,6 @@ class Pet implements ArrayAccess
|
||||
$this->category = $category;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets name
|
||||
* @return string
|
||||
@ -231,7 +221,6 @@ class Pet implements ArrayAccess
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets photo_urls
|
||||
* @return string[]
|
||||
@ -252,7 +241,6 @@ class Pet implements ArrayAccess
|
||||
$this->photo_urls = $photo_urls;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets tags
|
||||
* @return \Swagger\Client\Model\Tag[]
|
||||
@ -273,7 +261,6 @@ class Pet implements ArrayAccess
|
||||
$this->tags = $tags;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets status
|
||||
* @return string
|
||||
@ -297,7 +284,6 @@ class Pet implements ArrayAccess
|
||||
$this->status = $status;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -94,14 +94,12 @@ class SpecialModelName implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $special_property_name
|
||||
* @var int
|
||||
*/
|
||||
protected $special_property_name;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -113,7 +111,6 @@ class SpecialModelName implements ArrayAccess
|
||||
$this->special_property_name = $data["special_property_name"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets special_property_name
|
||||
* @return int
|
||||
@ -134,7 +131,6 @@ class SpecialModelName implements ArrayAccess
|
||||
$this->special_property_name = $special_property_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -98,20 +98,17 @@ class Tag implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $id
|
||||
* @var int
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* $name
|
||||
* @var string
|
||||
*/
|
||||
protected $name;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -124,7 +121,6 @@ class Tag implements ArrayAccess
|
||||
$this->name = $data["name"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets id
|
||||
* @return int
|
||||
@ -145,7 +141,6 @@ class Tag implements ArrayAccess
|
||||
$this->id = $id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets name
|
||||
* @return string
|
||||
@ -166,7 +161,6 @@ class Tag implements ArrayAccess
|
||||
$this->name = $name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -122,56 +122,47 @@ class User implements ArrayAccess
|
||||
return self::$getters;
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* $id
|
||||
* @var int
|
||||
*/
|
||||
protected $id;
|
||||
|
||||
/**
|
||||
* $username
|
||||
* @var string
|
||||
*/
|
||||
protected $username;
|
||||
|
||||
/**
|
||||
* $first_name
|
||||
* @var string
|
||||
*/
|
||||
protected $first_name;
|
||||
|
||||
/**
|
||||
* $last_name
|
||||
* @var string
|
||||
*/
|
||||
protected $last_name;
|
||||
|
||||
/**
|
||||
* $email
|
||||
* @var string
|
||||
*/
|
||||
protected $email;
|
||||
|
||||
/**
|
||||
* $password
|
||||
* @var string
|
||||
*/
|
||||
protected $password;
|
||||
|
||||
/**
|
||||
* $phone
|
||||
* @var string
|
||||
*/
|
||||
protected $phone;
|
||||
|
||||
/**
|
||||
* $user_status User Status
|
||||
* @var int
|
||||
*/
|
||||
protected $user_status;
|
||||
|
||||
|
||||
/**
|
||||
* Constructor
|
||||
* @param mixed[] $data Associated array of property value initalizing the model
|
||||
@ -190,7 +181,6 @@ class User implements ArrayAccess
|
||||
$this->user_status = $data["user_status"];
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets id
|
||||
* @return int
|
||||
@ -211,7 +201,6 @@ class User implements ArrayAccess
|
||||
$this->id = $id;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets username
|
||||
* @return string
|
||||
@ -232,7 +221,6 @@ class User implements ArrayAccess
|
||||
$this->username = $username;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets first_name
|
||||
* @return string
|
||||
@ -253,7 +241,6 @@ class User implements ArrayAccess
|
||||
$this->first_name = $first_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets last_name
|
||||
* @return string
|
||||
@ -274,7 +261,6 @@ class User implements ArrayAccess
|
||||
$this->last_name = $last_name;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets email
|
||||
* @return string
|
||||
@ -295,7 +281,6 @@ class User implements ArrayAccess
|
||||
$this->email = $email;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets password
|
||||
* @return string
|
||||
@ -316,7 +301,6 @@ class User implements ArrayAccess
|
||||
$this->password = $password;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets phone
|
||||
* @return string
|
||||
@ -337,7 +321,6 @@ class User implements ArrayAccess
|
||||
$this->phone = $phone;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Gets user_status
|
||||
* @return int
|
||||
@ -358,7 +341,6 @@ class User implements ArrayAccess
|
||||
$this->user_status = $user_status;
|
||||
return $this;
|
||||
}
|
||||
|
||||
/**
|
||||
* Returns true if offset exists. False otherwise.
|
||||
* @param integer $offset Offset
|
||||
|
@ -37,7 +37,7 @@ namespace Swagger\Client\Model;
|
||||
* Model200ResponseTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description
|
||||
* @description Model for testing model name starting with number
|
||||
* @package Swagger\Client
|
||||
* @author http://github.com/swagger-api/swagger-codegen
|
||||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
||||
|
@ -37,7 +37,7 @@ namespace Swagger\Client\Model;
|
||||
* ModelReturnTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description
|
||||
* @description Model for testing reserved words
|
||||
* @package Swagger\Client
|
||||
* @author http://github.com/swagger-api/swagger-codegen
|
||||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
||||
|
@ -37,7 +37,7 @@ namespace Swagger\Client\Model;
|
||||
* NameTest Class Doc Comment
|
||||
*
|
||||
* @category Class
|
||||
* @description
|
||||
* @description Model for testing model name same as property name
|
||||
* @package Swagger\Client
|
||||
* @author http://github.com/swagger-api/swagger-codegen
|
||||
* @license http://www.apache.org/licenses/LICENSE-2.0 Apache Licene v2
|
||||
|
@ -64,7 +64,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test case for addPet
|
||||
*
|
||||
@ -74,7 +73,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_addPet() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for addPetUsingByteArray
|
||||
*
|
||||
@ -84,7 +82,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_addPetUsingByteArray() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for deletePet
|
||||
*
|
||||
@ -94,7 +91,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_deletePet() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for findPetsByStatus
|
||||
*
|
||||
@ -104,7 +100,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_findPetsByStatus() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for findPetsByTags
|
||||
*
|
||||
@ -114,7 +109,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_findPetsByTags() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for getPetById
|
||||
*
|
||||
@ -124,7 +118,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_getPetById() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for getPetByIdInObject
|
||||
*
|
||||
@ -134,7 +127,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_getPetByIdInObject() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for petPetIdtestingByteArraytrueGet
|
||||
*
|
||||
@ -144,7 +136,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_petPetIdtestingByteArraytrueGet() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for updatePet
|
||||
*
|
||||
@ -154,7 +145,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_updatePet() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for updatePetWithForm
|
||||
*
|
||||
@ -164,7 +154,6 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_updatePetWithForm() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for uploadFile
|
||||
*
|
||||
@ -174,5 +163,4 @@ class PetApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_uploadFile() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -64,7 +64,6 @@ class StoreApiTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test case for deleteOrder
|
||||
*
|
||||
@ -74,7 +73,6 @@ class StoreApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_deleteOrder() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for findOrdersByStatus
|
||||
*
|
||||
@ -84,7 +82,6 @@ class StoreApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_findOrdersByStatus() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for getInventory
|
||||
*
|
||||
@ -94,7 +91,6 @@ class StoreApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_getInventory() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for getInventoryInObject
|
||||
*
|
||||
@ -104,7 +100,6 @@ class StoreApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_getInventoryInObject() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for getOrderById
|
||||
*
|
||||
@ -114,7 +109,6 @@ class StoreApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_getOrderById() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for placeOrder
|
||||
*
|
||||
@ -124,5 +118,4 @@ class StoreApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_placeOrder() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
@ -64,7 +64,6 @@ class UserApiTest extends \PHPUnit_Framework_TestCase
|
||||
|
||||
}
|
||||
|
||||
|
||||
/**
|
||||
* Test case for createUser
|
||||
*
|
||||
@ -74,7 +73,6 @@ class UserApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_createUser() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for createUsersWithArrayInput
|
||||
*
|
||||
@ -84,7 +82,6 @@ class UserApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_createUsersWithArrayInput() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for createUsersWithListInput
|
||||
*
|
||||
@ -94,7 +91,6 @@ class UserApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_createUsersWithListInput() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for deleteUser
|
||||
*
|
||||
@ -104,7 +100,6 @@ class UserApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_deleteUser() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for getUserByName
|
||||
*
|
||||
@ -114,7 +109,6 @@ class UserApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_getUserByName() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for loginUser
|
||||
*
|
||||
@ -124,7 +118,6 @@ class UserApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_loginUser() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for logoutUser
|
||||
*
|
||||
@ -134,7 +127,6 @@ class UserApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_logoutUser() {
|
||||
|
||||
}
|
||||
|
||||
/**
|
||||
* Test case for updateUser
|
||||
*
|
||||
@ -144,5 +136,4 @@ class UserApiTest extends \PHPUnit_Framework_TestCase
|
||||
public function test_updateUser() {
|
||||
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user