Skip to content
Snippets Groups Projects
DefaultApiEtsi.h 571 B
Newer Older
Nathan Chambron's avatar
Nathan Chambron committed
#ifndef DefaultApiEtsi_H_
#define DefaultApiEtsi_H_



#include <pistache/endpoint.h>
#include <pistache/http.h>
#include <pistache/router.h>
#include <memory>
#include <optional>
#include <DefaultApi.h>

namespace etsi
{

class DefaultApiEtsi : public org::openapitools::server::api::DefaultApi {
public:
    explicit DefaultApiEtsi(const std::shared_ptr<Pistache::Rest::Router>& rtr);
    ~DefaultApiEtsi() override = default;

    void get_version(Pistache::Http::ResponseWriter &response);
Nathan Chambron's avatar
Nathan Chambron committed
    void get_ping(Pistache::Http::ResponseWriter &response);