[C++][RESTSDK] support enums (#2749)

* Support enums

* Updating petstore sample

* Use enum class instead of just enum

* Use string_t for g++ compatibility

* Add enum descriptions

* Fix string parsing. Make g++ compatible.
This commit is contained in:
dan-drl
2019-05-01 08:22:05 -07:00
committed by sunn
parent 26c493b4a1
commit 40759a57fb
14 changed files with 166 additions and 0 deletions

View File

@@ -18,6 +18,9 @@ namespace openapitools {
namespace client {
namespace model {
User::User()
{
m_Id = 0L;
@@ -412,3 +415,4 @@ void User::unsetUserStatus()
}
}