Allow all apis under a single endpoint to be hosted in one server (#1230)

This commit is contained in:
sunn
2018-10-20 13:50:09 +02:00
committed by GitHub
parent 27fd224828
commit e32b70d579
26 changed files with 242 additions and 331 deletions

View File

@@ -19,8 +19,8 @@ namespace api {
using namespace org::openapitools::server::model;
StoreApiImpl::StoreApiImpl(Pistache::Address addr)
: StoreApi(addr)
StoreApiImpl::StoreApiImpl(std::shared_ptr<Pistache::Rest::Router> rtr)
: StoreApi(rtr)
{ }
void StoreApiImpl::delete_order(const std::string &orderId, Pistache::Http::ResponseWriter &response) {