blob: 7a88cbaa142b2e24495584d7af34b5a0a5b0cc60 [file] [log] [blame]
#pragma once
#include <app.hpp>
namespace redfish
{
inline void requestRoutes(App& app)
{
BMCWEB_ROUTE(app, "/redfish/")
.methods(boost::beast::http::verb::get)(
[](const crow::Request&, crow::Response& res) {
res.jsonValue = {{"v1", "/redfish/v1/"}};
res.end();
});
}
} // namespace redfish