Skip to main content

extract_input_schema

Function extract_input_schema 

Source
pub fn extract_input_schema(
    operation: &Value,
    openapi_doc: Option<&Value>,
) -> Value
Expand description

Extract input schema from an OpenAPI operation.

Combines query/path parameters and request body properties into a single {"type": "object", "properties": ..., "required": ...} schema.