-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
example: manually serving the OpenAPI doc #855
base: master
Are you sure you want to change the base?
Conversation
e24885c
to
9e01579
Compare
cargo fix
9e01579
to
912d218
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is still missing a SecurityAddon
like here.
Without it you cannot access secured routes.
Also wouldn't it be possible to integrate the utoipa-axum crate into the |
Nice, thanks, I think Without both on this branch and main, but if I create a new loco project and add the utoipa code it works correctly?
it should be possible to combine them, All the data, except for the return type, for the |
Yes its only for fixing the curl command and for supplying a little lock icon so its easier to use the "Try it out" feature. I think the replacement to use the However I do not know if you can add routes that do not use the |
Or we replace this with utoipauto which I used in my actix-web backend. |
71b66c9
to
e210000
Compare
e210000
to
1636fa2
Compare
1636fa2
to
be7c6ed
Compare
utoipa-axum
to auto collect the schemas which is slightly different compared to 320ebbf