forked from loafle/openapi-generator-original
[PHP] Regenerate petstore samples
This commit is contained in:
@@ -161,7 +161,9 @@ class FakeApi
|
||||
'PUT',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/fake'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -357,7 +359,9 @@ class FakeApi
|
||||
'POST',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/fake'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -440,7 +444,9 @@ class FakeApi
|
||||
'GET',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/fake'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
@@ -170,7 +170,9 @@ class PetApi
|
||||
'POST',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/pet'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -259,7 +261,9 @@ class PetApi
|
||||
'DELETE',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/pet/{petId}'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -342,7 +346,8 @@ class PetApi
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams,
|
||||
'\Swagger\Client\Model\Pet[]'
|
||||
'\Swagger\Client\Model\Pet[]',
|
||||
'/pet/findByStatus'
|
||||
);
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Pet[]', $httpHeader), $statusCode, $httpHeader);
|
||||
@@ -429,7 +434,8 @@ class PetApi
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams,
|
||||
'\Swagger\Client\Model\Pet[]'
|
||||
'\Swagger\Client\Model\Pet[]',
|
||||
'/pet/findByTags'
|
||||
);
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Pet[]', $httpHeader), $statusCode, $httpHeader);
|
||||
@@ -518,7 +524,8 @@ class PetApi
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams,
|
||||
'\Swagger\Client\Model\Pet'
|
||||
'\Swagger\Client\Model\Pet',
|
||||
'/pet/{petId}'
|
||||
);
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Pet', $httpHeader), $statusCode, $httpHeader);
|
||||
@@ -602,7 +609,9 @@ class PetApi
|
||||
'PUT',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/pet'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -697,7 +706,9 @@ class PetApi
|
||||
'POST',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/pet/{petId}'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -799,7 +810,8 @@ class PetApi
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams,
|
||||
'\Swagger\Client\Model\ApiResponse'
|
||||
'\Swagger\Client\Model\ApiResponse',
|
||||
'/pet/{petId}/uploadImage'
|
||||
);
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\ApiResponse', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
@@ -173,7 +173,9 @@ class StoreApi
|
||||
'DELETE',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/store/order/{orderId}'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -244,7 +246,8 @@ class StoreApi
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams,
|
||||
'map[string,int]'
|
||||
'map[string,int]',
|
||||
'/store/inventory'
|
||||
);
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, 'map[string,int]', $httpHeader), $statusCode, $httpHeader);
|
||||
@@ -335,7 +338,8 @@ class StoreApi
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams,
|
||||
'\Swagger\Client\Model\Order'
|
||||
'\Swagger\Client\Model\Order',
|
||||
'/store/order/{orderId}'
|
||||
);
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Order', $httpHeader), $statusCode, $httpHeader);
|
||||
@@ -416,7 +420,8 @@ class StoreApi
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams,
|
||||
'\Swagger\Client\Model\Order'
|
||||
'\Swagger\Client\Model\Order',
|
||||
'/store/order'
|
||||
);
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\Order', $httpHeader), $statusCode, $httpHeader);
|
||||
|
||||
@@ -166,7 +166,9 @@ class UserApi
|
||||
'POST',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/user'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -242,7 +244,9 @@ class UserApi
|
||||
'POST',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/user/createWithArray'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -318,7 +322,9 @@ class UserApi
|
||||
'POST',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/user/createWithList'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -397,7 +403,9 @@ class UserApi
|
||||
'DELETE',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/user/{username}'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -477,7 +485,8 @@ class UserApi
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams,
|
||||
'\Swagger\Client\Model\User'
|
||||
'\Swagger\Client\Model\User',
|
||||
'/user/{username}'
|
||||
);
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, '\Swagger\Client\Model\User', $httpHeader), $statusCode, $httpHeader);
|
||||
@@ -567,7 +576,8 @@ class UserApi
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams,
|
||||
'string'
|
||||
'string',
|
||||
'/user/login'
|
||||
);
|
||||
|
||||
return array($this->apiClient->getSerializer()->deserialize($response, 'string', $httpHeader), $statusCode, $httpHeader);
|
||||
@@ -636,7 +646,9 @@ class UserApi
|
||||
'GET',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/user/logout'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
@@ -726,7 +738,9 @@ class UserApi
|
||||
'PUT',
|
||||
$queryParams,
|
||||
$httpBody,
|
||||
$headerParams
|
||||
$headerParams,
|
||||
null,
|
||||
'/user/{username}'
|
||||
);
|
||||
|
||||
return array(null, $statusCode, $httpHeader);
|
||||
|
||||
Reference in New Issue
Block a user