forked from loafle/openapi-generator-original
* Oat++ Server Generator (C++) * Fixed for support for newest OpenAPI version. * ALPHA not STABLE. * Fixed for support for newest OpenAPI version. * Added github workflow & changed to OA3 Petstore. * Good catch on adding the Workflow. * Might help to update the samples. * Set C++ Standard the CMake way. * Would be easier if there was a .pc file. * oatpp.lib. * Add ws2. * This probably doesn't work, need to take a time out.
54 lines
1.7 KiB
C++
54 lines
1.7 KiB
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.
|
|
*
|
|
* 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.
|
|
*/
|
|
|
|
#include "StoreApiController.hpp"
|
|
|
|
namespace org {
|
|
namespace openapitools {
|
|
namespace server {
|
|
namespace api {
|
|
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> StoreApiController::delete_order(const std::shared_ptr<IncomingRequest> &request, const oatpp::String &orderId) {
|
|
(void)request;
|
|
(void)orderId;
|
|
|
|
|
|
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
|
}
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> StoreApiController::get_inventory(const std::shared_ptr<IncomingRequest> &request) {
|
|
(void)request;
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
|
}
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> StoreApiController::get_order_by_id(const std::shared_ptr<IncomingRequest> &request, const oatpp::Int64 &orderId) {
|
|
(void)request;
|
|
(void)orderId;
|
|
|
|
|
|
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
|
}
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> StoreApiController::place_order(const std::shared_ptr<IncomingRequest> &request, const oatpp::Object<org::openapitools::server::model::Order> &order) {
|
|
(void)request;
|
|
|
|
|
|
(void)order;
|
|
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|