Skip to main content

ref_component_name

Function ref_component_name 

Source
pub fn ref_component_name<'a>(reference: &'a str, kind: &str) -> Option<&'a str>
Expand description

Extract the trailing component name of the given kind (schemas, responses, parameters, or requestBodies) from a (possibly cross-file) $ref.