Skip to main content

resolved_schemas_for

Function resolved_schemas_for 

Source
pub fn resolved_schemas_for(
    api_version: &str,
    operation_id: &str,
) -> Option<(&'static Value, &'static Value)>
Expand description

Returns the fully-$defs-resolved input/output JSON Schema for operation_id under api_version, if known — the same asset validate_input/validate_output validate against, exposed directly so services::api_client can read declared parameter/column names and x-sql-type values off it to build the actual T-SQL call, rather than re-deriving that from EndpointRecord.input_schema’s unresolved $refs (see data::store::ENDPOINT_COLUMNS — that column stores the spec’s requestBody as written, $ref and all).