[C++] [Client] Added cpp-oatpp-client (#21711)

* Added cpp-oatpp-client.

* Updated pipelines.

* Should match formatting now.

* Moved includes around.

* Ran doc generator.
This commit is contained in:
Kraust
2025-08-06 22:01:55 -04:00
committed by GitHub
parent 603dbfd7f9
commit 5b8a11546c
32 changed files with 2573 additions and 1 deletions

View File

@@ -0,0 +1,59 @@
/**
* 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.
*
* The version of the OpenAPI document: 1.0.0
*
*
* NOTE: This class is auto generated by OpenAPI Generator (https://openapi-generator.tech).
* https://openapi-generator.tech
* Do not edit the class manually.
*/
/*
* Order.h
*
* An order for a pets from the pet store
*/
#ifndef Order_H_
#define Order_H_
#include "oatpp/core/macro/codegen.hpp"
#include "oatpp/core/Types.hpp"
namespace org::openapitools::client::model
{
/* Begin DTO code-generation */
#include OATPP_CODEGEN_BEGIN(DTO)
/**
* Message Data-Transfer-Object
*/
class Order : public oatpp::DTO {
DTO_INIT(Order, DTO /* Extends */)
DTO_FIELD(oatpp::Int64, id);
DTO_FIELD(oatpp::Boolean, idIsSet);
DTO_FIELD(oatpp::Int64, petId);
DTO_FIELD(oatpp::Boolean, petIdIsSet);
DTO_FIELD(oatpp::Int32, quantity);
DTO_FIELD(oatpp::Boolean, quantityIsSet);
DTO_FIELD(oatpp::String, shipDate);
DTO_FIELD(oatpp::Boolean, shipDateIsSet);
DTO_FIELD(oatpp::String, status);
DTO_FIELD(oatpp::Boolean, statusIsSet);
DTO_FIELD(oatpp::Boolean, complete);
DTO_FIELD(oatpp::Boolean, completeIsSet);
};
/* End DTO code-generation */
#include OATPP_CODEGEN_END(DTO)
} // namespace org::openapitools::client::model
#endif /* Order_H_ */