[C++][Restbed] Fix default value for Restbed (#1186)

* Start working on fixing default value in Restbed Server Api Template

* fix default value in DefaultCodegen

* Revert "fix default value in DefaultCodegen"

This reverts commit ce690069d2.

* fix default value in cpprest

* update cpp restbed samples
This commit is contained in:
stkrwork
2018-10-07 19:54:06 +02:00
committed by William Cheng
parent e85c527f33
commit 52a112d90f
57 changed files with 123 additions and 80 deletions

View File

@@ -5,7 +5,7 @@
* OpenAPI spec version: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI-Generator 3.2.1-SNAPSHOT.
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.1-SNAPSHOT.
* https://openapi-generator.tech
* Do not edit the class manually.
*/
@@ -253,7 +253,7 @@ void UserApiUserUsernameResource::GET_method_handler(const std::shared_ptr<restb
// Getting the path params
const std::string username = request->get_path_parameter("username", "");
// Change the value of this variable to the appropriate response before sending the response
int status_code = 200;
@@ -292,7 +292,7 @@ void UserApiUserUsernameResource::PUT_method_handler(const std::shared_ptr<restb
// Getting the path params
const std::string username = request->get_path_parameter("username", "");
// Change the value of this variable to the appropriate response before sending the response
int status_code = 200;