mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-06-29 20:20:53 +00:00
Merge branch 'ravinikam-patch-2'
This commit is contained in:
commit
4bf0fd6ad4
@ -344,7 +344,7 @@ pplx::task<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/r
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw ApiException(500
|
throw ApiException(500
|
||||||
, U("error calling findPetsByStatus: unsupported response type"));
|
, U("error calling {{operationId}}: unsupported response type"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
@ -518,7 +518,7 @@ pplx::task<std::vector<std::shared_ptr<Pet>>> PetApi::findPetsByTags(std::vector
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw ApiException(500
|
throw ApiException(500
|
||||||
, U("error calling findPetsByStatus: unsupported response type"));
|
, U("error calling findPetsByTags: unsupported response type"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
@ -644,7 +644,7 @@ pplx::task<std::shared_ptr<Pet>> PetApi::getPetById(int64_t petId)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw ApiException(500
|
throw ApiException(500
|
||||||
, U("error calling findPetsByStatus: unsupported response type"));
|
, U("error calling getPetById: unsupported response type"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
@ -1005,7 +1005,7 @@ pplx::task<std::shared_ptr<ApiResponse>> PetApi::uploadFile(int64_t petId, utili
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw ApiException(500
|
throw ApiException(500
|
||||||
, U("error calling findPetsByStatus: unsupported response type"));
|
, U("error calling uploadFile: unsupported response type"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
@ -259,7 +259,7 @@ pplx::task<std::map<utility::string_t, int32_t>> StoreApi::getInventory()
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw ApiException(500
|
throw ApiException(500
|
||||||
, U("error calling findPetsByStatus: unsupported response type"));
|
, U("error calling getInventory: unsupported response type"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
@ -377,7 +377,7 @@ pplx::task<std::shared_ptr<Order>> StoreApi::getOrderById(int64_t orderId)
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw ApiException(500
|
throw ApiException(500
|
||||||
, U("error calling findPetsByStatus: unsupported response type"));
|
, U("error calling getOrderById: unsupported response type"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
@ -513,7 +513,7 @@ pplx::task<std::shared_ptr<Order>> StoreApi::placeOrder(std::shared_ptr<Order> b
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw ApiException(500
|
throw ApiException(500
|
||||||
, U("error calling findPetsByStatus: unsupported response type"));
|
, U("error calling placeOrder: unsupported response type"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
@ -616,7 +616,7 @@ pplx::task<std::shared_ptr<User>> UserApi::getUserByName(utility::string_t usern
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw ApiException(500
|
throw ApiException(500
|
||||||
, U("error calling findPetsByStatus: unsupported response type"));
|
, U("error calling getUserByName: unsupported response type"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
@ -751,7 +751,7 @@ pplx::task<utility::string_t> UserApi::loginUser(utility::string_t username, uti
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
throw ApiException(500
|
throw ApiException(500
|
||||||
, U("error calling findPetsByStatus: unsupported response type"));
|
, U("error calling loginUser: unsupported response type"));
|
||||||
}
|
}
|
||||||
|
|
||||||
return result;
|
return result;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user