diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/redfish_v1.hpp | 21 |
1 files changed, 0 insertions, 21 deletions
diff --git a/include/redfish_v1.hpp b/include/redfish_v1.hpp deleted file mode 100644 index 9b5d460991..0000000000 --- a/include/redfish_v1.hpp +++ /dev/null @@ -1,21 +0,0 @@ -#pragma once - -#include <app.hpp> -#include <http_request.hpp> -#include <http_response.hpp> - -#include <string> - -namespace redfish -{ - -inline void requestRoutes(App& app) -{ - BMCWEB_ROUTE(app, "/redfish/") - .methods(boost::beast::http::verb::get)( - [](const crow::Request&, - const std::shared_ptr<bmcweb::AsyncResp>& asyncResp) { - asyncResp->res.jsonValue = {{"v1", "/redfish/v1/"}}; - }); -} -} // namespace redfish |