Skip to main content

resolve_ref

Function resolve_ref 

Source
pub fn resolve_ref<'a>(
    ref_path: &str,
    components: Option<&'a Components>,
) -> Option<&'a SchemaOrRef>
Expand description

Resolve a $ref path like “#/components/schemas/Pet” to the referenced schema.