mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-05-27 20:10:56 +00:00
* Rename script: qt5-petstore.sh -> cpp-qt5-petstore.sh * Rename sample folder: qt5cpp -> cpp-qt5 * Rename script: cpprest-petstore.sh -> cpp-restsdk-petstore.sh * Rename sample folder: cpprest -> cpp-restsdk * Rename generator: CppRestClientCodegen -> CppRestSdkClientCodegen * Rename script: tizen-petstore.sh -> cpp-tizen-petstore.sh * Rename sample folder: tizen -> cpp-tizen * Rename script(security): qt5cpp-petstore.sh -> cpp-qt5-petstore.sh * Rename sample folder(security): qt5cpp -> cpp-qt5 * Rename script(windows): qt5cpp-petstore.bat -> cpp-qt5-petstore.bat * Change sample folder * Rename script(windows): cpprest-petstore.bat -> cpp-restsdk-petstore.bat * Change sample folder * Rename script(windows): tizen-petstore.bat -> cpp-tizen-petstore.bat * Change sample folder * Change output folder: tizen -> cpp-tizen * Rename the scripts under bin/openapi3 cpp-restsdk is not exist under bin/openapi3 * Change sample folder
50 lines
943 B
C++
50 lines
943 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.0.0-SNAPSHOT.
|
|
* 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_ */
|