mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-20 01:47:07 +00:00
Allow all apis under a single endpoint to be hosted in one server (#1230)
This commit is contained in:
@@ -19,8 +19,8 @@ namespace api {
|
||||
|
||||
using namespace org::openapitools::server::model;
|
||||
|
||||
PetApiImpl::PetApiImpl(Pistache::Address addr)
|
||||
: PetApi(addr)
|
||||
PetApiImpl::PetApiImpl(std::shared_ptr<Pistache::Rest::Router> rtr)
|
||||
: PetApi(rtr)
|
||||
{ }
|
||||
|
||||
void PetApiImpl::add_pet(const Pet &pet, Pistache::Http::ResponseWriter &response) {
|
||||
|
||||
Reference in New Issue
Block a user