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 {
|
||||
|
||||
|
||||
|
||||
|
||||
ApiResponse::ApiResponse()
|
||||
{
|
||||
m_Code = 0;
|
||||
@@ -197,3 +200,4 @@ void ApiResponse::unsetMessage()
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user