forked from loafle/openapi-generator-original
* Fix string types for cpprestsdk client generator * Regenerate the samples for restsdk-client
50 lines
934 B
C++
50 lines
934 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.4.
|
|
* https://openapi-generator.tech
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
/*
|
|
* JsonBody.h
|
|
*
|
|
* This is a JSON http body which can be submitted via http
|
|
*/
|
|
|
|
#ifndef ORG_OPENAPITOOLS_CLIENT_MODEL_JsonBody_H_
|
|
#define ORG_OPENAPITOOLS_CLIENT_MODEL_JsonBody_H_
|
|
|
|
|
|
#include "IHttpBody.h"
|
|
|
|
#include <cpprest/json.h>
|
|
|
|
namespace org {
|
|
namespace openapitools {
|
|
namespace client {
|
|
namespace model {
|
|
|
|
class JsonBody
|
|
: public IHttpBody
|
|
{
|
|
public:
|
|
JsonBody( const web::json::value& value );
|
|
virtual ~JsonBody();
|
|
|
|
void writeTo( std::ostream& target ) override;
|
|
|
|
protected:
|
|
web::json::value m_Json;
|
|
};
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
#endif /* ORG_OPENAPITOOLS_CLIENT_MODEL_JsonBody_H_ */
|