forked from loafle/openapi-generator-original
[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:
@@ -18,6 +18,9 @@ namespace openapitools {
|
||||
namespace client {
|
||||
namespace model {
|
||||
|
||||
|
||||
|
||||
|
||||
Order::Order()
|
||||
{
|
||||
m_Id = 0L;
|
||||
@@ -326,3 +329,4 @@ void Order::unsetComplete()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user