Skip to main content

resolve_schema

Function resolve_schema 

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

If schema contains a $ref, resolve it; otherwise return as-is.