Class DocsHandlers
Defined in File docs_handlers.hpp
Class Documentation
-
class DocsHandlers
OpenAPI capability description endpoint handlers.
Handles:
GET /docs - Root capability description (full OpenAPI spec)
GET /{path}/docs - Context-scoped capability description
Public Functions
-
DocsHandlers(HandlerContext &ctx, GatewayNode &node, PluginManager *plugin_mgr, const openapi::RouteRegistry *route_registry = nullptr)
-
~DocsHandlers()
-
void handle_docs_root(const httplib::Request &req, httplib::Response &res)
GET /docs - Root capability description.
-
void handle_docs_any_path(const httplib::Request &req, httplib::Response &res)
GET /{path}/docs - Context-scoped capability description.