| /** | |
| * @file routes.hpp | |
| * @brief HTTP route definitions. | |
| */ | |
| namespace app::api { | |
| /** | |
| * @brief Simple HTTP response structure. | |
| */ | |
| struct HttpResponse { | |
| int status_code{200}; | |
| std::string body; | |
| std::string content_type{"application/json"}; | |
| }; | |
| /** | |
| * @brief Health check endpoint. | |
| * @return HTTP 200 with status JSON. | |
| */ | |
| HttpResponse health_check(); | |
| } // namespace app::api | |