[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

@@ -31,6 +31,7 @@ namespace openapitools {
namespace client {
namespace model {
/// <summary>
/// A pet for sale in the pet store
/// </summary>
@@ -119,6 +120,7 @@ protected:
bool m_StatusIsSet;
};
}
}
}