Skip to main content

template_context

Function template_context 

Source
pub fn template_context(
    document: &ValidatedSourceDocument,
    config: &Config,
) -> Result<TemplateContext, GenerateError>
Expand description

The exact context the templates receive. For writing templates; it is what roas openapi generate --print-context prints.