![]() |
boost::taar::param_info — Describes one parameter for schema generation (OpenAPI, MCP inputSchema).
// In header: <boost/taar/core/json_schema.hpp>
struct param_info {
// public data members
std::string name;
std::string description;
std::string json_type; // JSON Schema type name, empty for "any".
bool required;
boost::json::object schema; // Full JSON Schema for the parameter type.
std::optional< boost::json::value > default_value; // From with_default, when representable.
};