forked from loafle/openapi-generator-original
Allow all apis under a single endpoint to be hosted in one server (#1230)
This commit is contained in:
@@ -42,7 +42,7 @@ using namespace org::openapitools::server::model;
|
||||
|
||||
class PetApiImpl : public org::openapitools::server::api::PetApi {
|
||||
public:
|
||||
PetApiImpl(Pistache::Address addr);
|
||||
PetApiImpl(std::shared_ptr<Pistache::Rest::Router>);
|
||||
~PetApiImpl() {}
|
||||
|
||||
void add_pet(const Pet &pet, Pistache::Http::ResponseWriter &response);
|
||||
|
||||
Reference in New Issue
Block a user