/** * OpenAPI Petstore * This is a sample server Petstore server. For this sample, you can use the api key `special-key` to test the authorization filters. * * OpenAPI spec version: 1.0.0 * * * NOTE: This class is auto generated by OpenAPI-Generator 4.0.0-SNAPSHOT. * https://openapi-generator.tech * Do not edit the class manually. */ /* * StoreApi.h * * */ #ifndef StoreApi_H_ #define StoreApi_H_ #include #include #include #include #include "Order.h" #include #include namespace org { namespace openapitools { namespace server { namespace api { using namespace org::openapitools::server::model; class StoreApi: public restbed::Service { public: StoreApi(); ~StoreApi(); void startService(int const& port); void stopService(); }; /// /// Delete purchase order by ID /// /// /// For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors /// class StoreApiStoreOrderOrderIdResource: public restbed::Resource { public: StoreApiStoreOrderOrderIdResource(); virtual ~StoreApiStoreOrderOrderIdResource(); void DELETE_method_handler(const std::shared_ptr session); void GET_method_handler(const std::shared_ptr session); }; /// /// Returns pet inventories by status /// /// /// Returns a map of status codes to quantities /// class StoreApiStoreInventoryResource: public restbed::Resource { public: StoreApiStoreInventoryResource(); virtual ~StoreApiStoreInventoryResource(); void GET_method_handler(const std::shared_ptr session); }; /// /// Place an order for a pet /// /// /// /// class StoreApiStoreOrderResource: public restbed::Resource { public: StoreApiStoreOrderResource(); virtual ~StoreApiStoreOrderResource(); void POST_method_handler(const std::shared_ptr session); }; } } } } #endif /* StoreApi_H_ */