Merge branch 'ravinikam-patch-2'

This commit is contained in:
wing328 2017-03-11 20:40:42 +08:00
commit 4bf0fd6ad4
4 changed files with 9 additions and 9 deletions

View File

@ -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;

View File

@ -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;

View File

@ -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;

View File

@ -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;