Skip to main content

add_openapi_endpoints

Function add_openapi_endpoints 

Source
pub fn add_openapi_endpoints<T>(
    app: Router<T>,
    json_url: &Option<String>,
    yaml_url: &Option<String>,
) -> Router<T>
where T: Clone + Send + Sync + 'static,
Expand description

Adds the OpenAPI endpoints the app router