-
Notifications
You must be signed in to change notification settings - Fork 465
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
Headers documentation #340
Comments
I don't think this is possible for now, I would like to do it too. (In particular for |
Basically it's not a problem to implement a DSL for defining request headers like api :GET, "/users/:id", "Show user profile"
header 'Authentication', String, 'Auth header in format ...' Is it possible to implement request headers recording during running specs? Any ideas? |
I think it should be possible, you could look around https://github.com/Apipie/apipie-rails/blob/master/lib/apipie/extractor/recorder.rb#L36 |
Well, it looks like the gem can fetch request headers. But how can I filter regular request headers (I mean, standard browser headers) from my API-specific headers? |
Is it possible to document request headers? And if not, are you are going to implement in future releases (probably in the next one)? Thanks for a great documentation tool, btw.
The text was updated successfully, but these errors were encountered: