forked from loafle/openapi-generator-original
56 lines
2.1 KiB
C++
56 lines
2.1 KiB
C++
/**
|
|
* Swagger Petstore
|
|
* This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.
|
|
*
|
|
* OpenAPI spec version: 1.0.0
|
|
* Contact: apiteam@swagger.io
|
|
*
|
|
* NOTE: This class is auto generated by the swagger code generator program.
|
|
* https://github.com/swagger-api/swagger-codegen.git
|
|
* Do not edit the class manually.
|
|
*/
|
|
|
|
#include "UserApiImpl.h"
|
|
|
|
namespace io {
|
|
namespace swagger {
|
|
namespace server {
|
|
namespace api {
|
|
|
|
using namespace io::swagger::server::model;
|
|
|
|
UserApiImpl::UserApiImpl(Pistache::Address addr)
|
|
: UserApi(addr)
|
|
{ }
|
|
|
|
void UserApiImpl::create_user(const User &user, Pistache::Http::ResponseWriter &response) {
|
|
response.send(Pistache::Http::Code::Ok, "Do some magic\n");
|
|
}
|
|
void UserApiImpl::create_users_with_array_input(const User &user, Pistache::Http::ResponseWriter &response) {
|
|
response.send(Pistache::Http::Code::Ok, "Do some magic\n");
|
|
}
|
|
void UserApiImpl::create_users_with_list_input(const User &user, Pistache::Http::ResponseWriter &response) {
|
|
response.send(Pistache::Http::Code::Ok, "Do some magic\n");
|
|
}
|
|
void UserApiImpl::delete_user(const std::string &username, Pistache::Http::ResponseWriter &response) {
|
|
response.send(Pistache::Http::Code::Ok, "Do some magic\n");
|
|
}
|
|
void UserApiImpl::get_user_by_name(const std::string &username, Pistache::Http::ResponseWriter &response) {
|
|
response.send(Pistache::Http::Code::Ok, "Do some magic\n");
|
|
}
|
|
void UserApiImpl::login_user(const Optional<std::string> &username, const Optional<std::string> &password, Pistache::Http::ResponseWriter &response) {
|
|
response.send(Pistache::Http::Code::Ok, "Do some magic\n");
|
|
}
|
|
void UserApiImpl::logout_user(Pistache::Http::ResponseWriter &response) {
|
|
response.send(Pistache::Http::Code::Ok, "Do some magic\n");
|
|
}
|
|
void UserApiImpl::update_user(const std::string &username, const User &user, Pistache::Http::ResponseWriter &response) {
|
|
response.send(Pistache::Http::Code::Ok, "Do some magic\n");
|
|
}
|
|
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|