forked from loafle/openapi-generator-original
* add file post processing to cpp generators * use clang to auto format cpp-restsdk code * restore cpp-restsdk samples without clang format
37 lines
637 B
C++
37 lines
637 B
C++
/**
|
|
* OpenAPI Petstore
|
|
* This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
*
|
|
* OpenAPI spec version: 1.0.0
|
|
*
|
|
* NOTE: This class is auto generated by OpenAPI-Generator 3.3.3-SNAPSHOT.
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
#include "JsonBody.h"
|
|
|
|
namespace org {
|
|
namespace openapitools {
|
|
namespace client {
|
|
namespace model {
|
|
|
|
JsonBody::JsonBody( const web::json::value& json)
|
|
: m_Json(json)
|
|
{
|
|
}
|
|
|
|
JsonBody::~JsonBody()
|
|
{
|
|
}
|
|
|
|
void JsonBody::writeTo( std::ostream& target )
|
|
{
|
|
m_Json.serialize(target);
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|