[C++] Add an option to allow having lowercase variables in models, Pistache: allow using reservedWords in models (#5434)

* [C++][Pistache] Use reserved words to replace incorrect names

discard old decision to truncate reservedWords

* [C++][Pistache] Update struct model to use name instead of baseName

* [C++][Pistache] Update Petstore sample

* [C++] Add option to have lowercase variables

* [C++] Update generated docs
This commit is contained in:
Mateusz Szychowski (Muttley)
2020-03-01 12:39:45 +01:00
committed by GitHub
parent 015b404729
commit 4c6648f1a9
11 changed files with 119 additions and 12 deletions

View File

@@ -12,6 +12,7 @@ sidebar_label: cpp-restsdk
|modelPackage|C++ namespace for models (convention: name.space.model).| |org.openapitools.client.model|
|packageVersion|C++ package version.| |1.0.0|
|reservedWordPrefix|Prefix to prepend to reserved words in order to avoid conflicts| |r_|
|variableNameFirstCharacterUppercase|Make first character of variable name uppercase (eg. value -> Value)| |true|
## IMPORT MAPPING