From a29c8c937a8468e2084ea3d2ae6443576c0dabfc Mon Sep 17 00:00:00 2001 From: ravinikam Date: Fri, 10 Mar 2017 12:41:15 -0600 Subject: [PATCH] Update exception message to use operationId Update ApiException to use {{operationId}} variable to correct typo --- .../src/main/resources/cpprest/api-source.mustache | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/swagger-codegen/src/main/resources/cpprest/api-source.mustache b/modules/swagger-codegen/src/main/resources/cpprest/api-source.mustache index 30724132edb..28f4861b9b6 100644 --- a/modules/swagger-codegen/src/main/resources/cpprest/api-source.mustache +++ b/modules/swagger-codegen/src/main/resources/cpprest/api-source.mustache @@ -344,7 +344,7 @@ pplx::task<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}void{{/r else { throw ApiException(500 - , U("error calling findPetsByStatus: unsupported response type")); + , U("error calling {{operationId}}: unsupported response type")); } return result;