We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3d118a commit ff780faCopy full SHA for ff780fa
1 file changed
modules/openapi-generator/src/main/resources/cpp-restbed-server/api-source.mustache
@@ -48,10 +48,6 @@ void {{classname}}::stopService() {
48
std::bind(&{{classname}}{{vendorExtensions.x-codegen-resourceName}}Resource::{{httpMethod}}_method_handler, this,
49
std::placeholders::_1));
50
{{/vendorExtensions.x-codegen-otherMethods}}
51
-
52
- {{#allParams}}{{#defaultValue}}{{^isListContainer}}{{paramName}} = {{{defaultValue}}};
53
- {{/isListContainer}}{{/defaultValue}}{{^defaultValue}}{{#isModel}}{{paramName}} = std::make_shared<{{baseType}}>();
54
- {{/isModel}}{{/defaultValue}}{{/allParams}}
55
}
56
57
{{classname}}{{vendorExtensions.x-codegen-resourceName}}Resource::~{{classname}}{{vendorExtensions.x-codegen-resourceName}}Resource()
0 commit comments