forked from loafle/openapi-generator-original
Undefine stdin/stderr/stdout only for model files in samples
This commit is contained in:
@@ -8,10 +8,6 @@
|
||||
#include "../model/api_response.h"
|
||||
#include "../model/pet.h"
|
||||
|
||||
#undef stdin
|
||||
#undef stderr
|
||||
#undef stdout
|
||||
|
||||
// Enum STATUS for PetAPI_findPetsByStatus
|
||||
typedef enum { openapi_petstore_findPetsByStatus_STATUS_NULL = 0, openapi_petstore_findPetsByStatus_STATUS_available, openapi_petstore_findPetsByStatus_STATUS_pending, openapi_petstore_findPetsByStatus_STATUS_sold } openapi_petstore_findPetsByStatus_status_e;
|
||||
|
||||
|
||||
@@ -7,10 +7,6 @@
|
||||
#include "../include/binary.h"
|
||||
#include "../model/order.h"
|
||||
|
||||
#undef stdin
|
||||
#undef stderr
|
||||
#undef stdout
|
||||
|
||||
|
||||
// Delete purchase order by ID
|
||||
//
|
||||
|
||||
@@ -7,10 +7,6 @@
|
||||
#include "../include/binary.h"
|
||||
#include "../model/user.h"
|
||||
|
||||
#undef stdin
|
||||
#undef stderr
|
||||
#undef stdout
|
||||
|
||||
|
||||
// Create user
|
||||
//
|
||||
|
||||
Reference in New Issue
Block a user