-
Notifications
You must be signed in to change notification settings - Fork 463
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
Custom headers responses #924
Custom headers responses #924
Conversation
d3b13ed
to
20e8c84
Compare
Is there anyway to use |
You can delete this line 😅 apipie-rails/lib/apipie/dsl_definition.rb Line 436 in f300fcc
I'm not sure why it exists, there are no failing tests if it's removed 🤔 |
20e8c84
to
5887cad
Compare
Hehe, that would be nice! |
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.
I like it! 🚀
@mathieujobin Any chance to get this merged? |
Sorry for the delay here |
No worries, thank you! |
Why
To define custom response headers #706
How
Extend the
Apipie::ResponseDescription::ResponseObject
with a header methodExample