Skip to content
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

feat(macro): add macro helpers for method routing #289

Merged
merged 2 commits into from
Feb 15, 2021

Conversation

tiagolobocastro
Copy link
Collaborator

Add macro helpers for routing methods get, put, post, delete:
these are based on the actix_web macros and intended to be facilitate
use paperclip on actix_web code which already makes use of the original
macros from actix_web:
https://docs.rs/actix-web-macros/0.1.0/actix_web_macros/

@tiagolobocastro
Copy link
Collaborator Author

Please let me know what you think of this!
Also, could I please get some help getting the doc_test example to compile? Had to comment it out because it failed to compile, I can't get to find the actix_web or paperclip crate :(

Add macro helpers for routing methods get, put, post, delete:
these are based on the actix_web macros code (credit due) and intended
to facilitate the use paperclip on actix_web code which already makes
use of the original macros from actix_web:
https://docs.rs/actix-web-macros/0.1.0/actix_web_macros/
Copy link
Collaborator

@dunnock dunnock left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this change is valuable, enabling usage of actix-web-macros, thanks @tiagolobocastro . LGTM!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants