mirror of
https://gitlab.com/msrd0/gotham-restful.git
synced 2025-05-09 16:10:42 +00:00
add swagger_ui to the router
This commit is contained in:
parent
7ed98c82e8
commit
28ae4dfdee
5 changed files with 230 additions and 53 deletions
|
@ -122,6 +122,7 @@ fn main() {
|
|||
route.resource::<Users>("users");
|
||||
route.resource::<Auth>("auth");
|
||||
route.get_openapi("openapi");
|
||||
route.swagger_ui("");
|
||||
});
|
||||
})
|
||||
);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue