1
0
Fork 0
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:
Dominic 2021-02-25 00:37:55 +01:00
parent 7ed98c82e8
commit 28ae4dfdee
Signed by: msrd0
GPG key ID: DCC8C247452E98F9
5 changed files with 230 additions and 53 deletions

View file

@ -122,6 +122,7 @@ fn main() {
route.resource::<Users>("users");
route.resource::<Auth>("auth");
route.get_openapi("openapi");
route.swagger_ui("");
});
})
);