[c++ pistache server] Support basic query handling (#943)

Support basic query handling

Add  helpers for primitive de-serialization
Remove warnings due to unneeded commas
Deserialize basic types in queries
Add dependencies chain for external libraries
Fixes wrong parameter passed to API
This commit is contained in:
sunn
2018-09-12 09:53:01 +02:00
committed by GitHub
parent 3cfcf77c88
commit 3d4c3c545b
21 changed files with 413 additions and 26 deletions

View File

@@ -43,7 +43,7 @@ using namespace org::openapitools::server::model;
class StoreApiImpl : public org::openapitools::server::api::StoreApi {
public:
StoreApiImpl(Pistache::Address addr);
~StoreApiImpl() { };
~StoreApiImpl() {}
void delete_order(const std::string &orderId, Pistache::Http::ResponseWriter &response);
void get_inventory(Pistache::Http::ResponseWriter &response);