Skip to main content

template_with_custom_theme

Function template_with_custom_theme 

Source
pub fn template_with_custom_theme(
    spec: &OpenAPISpec,
    theme_name: &str,
    custom_css: Option<&str>,
    favicon: &str,
) -> String
Expand description

Renders the HTML template with optional custom CSS injected after the built-in themes.