@@ -55,7 +55,7 @@ public class CppRestClientCodegen extends AbstractCppCodegen {
55
55
56
56
/**
57
57
* Configures the type of generator.
58
- *
58
+ *
59
59
* @return the CodegenType for this generator
60
60
* @see io.swagger.codegen.CodegenType
61
61
*/
@@ -66,7 +66,7 @@ public CodegenType getTag() {
66
66
/**
67
67
* Configures a friendly name for the generator. This will be used by the
68
68
* generator to select the library with the -l flag.
69
- *
69
+ *
70
70
* @return the friendly name for the generator
71
71
*/
72
72
public String getName () {
@@ -76,7 +76,7 @@ public String getName() {
76
76
/**
77
77
* Returns human-friendly help for the generator. Provide the consumer with
78
78
* help tips, parameters here
79
- *
79
+ *
80
80
* @return A string value for the help message
81
81
*/
82
82
public String getHelp () {
@@ -111,8 +111,6 @@ public CppRestClientCodegen() {
111
111
"The default include statement that should be placed in all headers for including things like the declspec (convention: #include \" Commons.h\" " ,
112
112
this .defaultInclude );
113
113
114
- reservedWords = new HashSet <String >();
115
-
116
114
supportingFiles .add (new SupportingFile ("modelbase-header.mustache" , "" , "ModelBase.h" ));
117
115
supportingFiles .add (new SupportingFile ("modelbase-source.mustache" , "" , "ModelBase.cpp" ));
118
116
supportingFiles .add (new SupportingFile ("apiclient-header.mustache" , "" , "ApiClient.h" ));
@@ -187,18 +185,6 @@ public void processOpts() {
187
185
additionalProperties .put ("defaultInclude" , defaultInclude );
188
186
}
189
187
190
- /**
191
- * Escapes a reserved word as defined in the `reservedWords` array. Handle
192
- * escaping those terms here. This logic is only called if a variable
193
- * matches the reseved words
194
- *
195
- * @return the escaped term
196
- */
197
- @ Override
198
- public String escapeReservedWord (String name ) {
199
- return "_" + name ; // add an underscore to the name
200
- }
201
-
202
188
/**
203
189
* Location to write model files. You can use the modelPackage() as defined
204
190
* when the class is instantiated
0 commit comments