OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
|
|
/**
|
||
|
|
* 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 "PetApiController.hpp"
|
||
|
|
|
||
|
|
namespace org {
|
||
|
|
namespace openapitools {
|
||
|
|
namespace server {
|
||
|
|
namespace api {
|
||
|
|
|
||
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> PetApiController::add_pet(const std::shared_ptr<IncomingRequest> &request, const oatpp::Object<org::openapitools::server::model::Pet> &pet) {
|
||
|
|
(void)request;
|
||
|
|
|
||
|
|
|
||
|
|
(void)pet;
|
||
|
|
|
||
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
||
|
|
}
|
||
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> PetApiController::delete_pet(const std::shared_ptr<IncomingRequest> &request, const oatpp::Int64 &petId, const oatpp::String &apiKey) {
|
||
|
|
(void)request;
|
||
|
|
(void)petId;
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
(void)apiKey;
|
||
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
||
|
|
}
|
||
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> PetApiController::find_pets_by_status(const std::shared_ptr<IncomingRequest> &request, const oatpp::Vector<oatpp::String> &status) {
|
||
|
|
(void)request;
|
||
|
|
|
||
|
|
(void)status;
|
||
|
|
|
||
|
|
|
||
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
||
|
|
}
|
||
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> PetApiController::find_pets_by_tags(const std::shared_ptr<IncomingRequest> &request, const oatpp::Vector<oatpp::String> &tags) {
|
||
|
|
(void)request;
|
||
|
|
|
||
|
|
(void)tags;
|
||
|
|
|
||
|
|
|
||
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
||
|
|
}
|
||
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> PetApiController::get_pet_by_id(const std::shared_ptr<IncomingRequest> &request, const oatpp::Int64 &petId) {
|
||
|
|
(void)request;
|
||
|
|
(void)petId;
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
||
|
|
}
|
||
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> PetApiController::update_pet(const std::shared_ptr<IncomingRequest> &request, const oatpp::Object<org::openapitools::server::model::Pet> &pet) {
|
||
|
|
(void)request;
|
||
|
|
|
||
|
|
|
||
|
|
(void)pet;
|
||
|
|
|
||
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
||
|
|
}
|
||
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> PetApiController::update_pet_with_form(const std::shared_ptr<IncomingRequest> &request, const oatpp::Int64 &petId) {
|
||
|
|
(void)request;
|
||
|
|
(void)petId;
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
||
|
|
}
|
||
|
|
std::shared_ptr<oatpp::web::protocol::http::outgoing::Response> PetApiController::upload_file(const std::shared_ptr<IncomingRequest> &request, const oatpp::Int64 &petId) {
|
||
|
|
(void)request;
|
||
|
|
(void)petId;
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
|
||
|
|
return createResponse(Status::CODE_501, "TODO: Implement API Handler");
|
||
|
|
}
|
||
|
|
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
}
|
||
|
|
|