#ifndef OAI_PETAPI_TESTS_H #define OAI_PETAPI_TESTS_H #include #include "client/ApiClient.h" #include "client/ApiConfiguration.h" #include "client/api/PetApi.h" #include "client/model/Pet.h" using namespace std; using namespace org::openapitools::client::api; class OAIPetApiTests { public: explicit OAIPetApiTests(std::string host = U("http://petstore.swagger.io"), std::string basePath = U("/v2")); virtual ~OAIPetApiTests(); public: void runTests(); private: void testAddPet(); void testFindPetsByStatus(); void testGetPetById(); void getPetByIdCallback(std::shared_ptr pet); std::shared_ptr apiconfiguration; std::shared_ptr apiclient; std::shared_ptr api; }; #endif // OAI_PETAPI_TESTS_H