#pragma once #include #include #include #include namespace redfish { inline void requestRoutes(App& app) { BMCWEB_ROUTE(app, "/redfish/") .methods(boost::beast::http::verb::get)( [&app](const crow::Request& req, const std::shared_ptr& asyncResp) { if (!redfish::setUpRedfishRoute(app, req, asyncResp->res)) { return; } asyncResp->res.jsonValue["v1"] = "/redfish/v1/"; }); } } // namespace redfish