mirror of
https://github.com/jlengrand/openapi-generator.git
synced 2026-05-17 15:54:36 +00:00
* replace tab with 4-space in cpprest templates * remove trailing whitespaces from templates * fix code indentation in cpprest templates * remove empty block in cpprest templates
25 lines
375 B
Plaintext
25 lines
375 B
Plaintext
{{>licenseInfo}}
|
|
#include "JsonBody.h"
|
|
|
|
{{#modelNamespaceDeclarations}}
|
|
namespace {{this}} {
|
|
{{/modelNamespaceDeclarations}}
|
|
|
|
JsonBody::JsonBody( const web::json::value& json)
|
|
: m_Json(json)
|
|
{
|
|
}
|
|
|
|
JsonBody::~JsonBody()
|
|
{
|
|
}
|
|
|
|
void JsonBody::writeTo( std::ostream& target )
|
|
{
|
|
m_Json.serialize(target);
|
|
}
|
|
|
|
{{#modelNamespaceDeclarations}}
|
|
}
|
|
{{/modelNamespaceDeclarations}}
|