blob: 1e4bd658e6026f5d0260fa9fe11cf50dd614639c [file] [log] [blame]
#pragma once
#include <app.h>
namespace crow
{
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
} // namespace crow