blob: 4230b5f49aadc429119afa9e52e0df905013d2d2 [file] [log] [blame]
#pragma once
#include <app.hpp>
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