forked from loafle/openapi-generator-original
29 lines
626 B
C++
29 lines
626 B
C++
#ifndef TINY_CPP_CLIENT_ABSTRACTSERVICE_H_
|
|
#define TINY_CPP_CLIENT_ABSTRACTSERVICE_H_
|
|
|
|
#include "HTTPClient.h"
|
|
#include "Response.h"
|
|
namespace Tiny {
|
|
|
|
/**
|
|
* Class
|
|
* Generated with openapi::tiny-cpp-client
|
|
*/
|
|
class AbstractService {
|
|
public:
|
|
HTTPClient http;
|
|
std::string basepath = "https://petstore3.swagger.io/api/v3"; // TODO: change to your url
|
|
|
|
void begin(std::string url);
|
|
|
|
// Go and comment out a certificate in root.cert, if you get an error here
|
|
// Certificate from file
|
|
const char* test_root_ca =
|
|
#include "../../root.cert"
|
|
;
|
|
|
|
}; // end class
|
|
}// namespace Tinyclient
|
|
|
|
#endif /* TINY_CPP_CLIENT_ABSTRACTSERVICE_H_ */
|