Trait gotham_restful::GetOpenapi
source · [−]pub trait GetOpenapi {
fn get_openapi(&mut self, path: &str);
fn swagger_ui(&mut self, path: &str);
}
Expand description
This trait adds the get_openapi
and swagger_ui
method to an OpenAPI-aware router.