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

Add example for getting map of all header values as parameter #338

Open
wants to merge 1 commit into
base: wordpress
Choose a base branch
from

Conversation

ustundag
Copy link

Hi, I have spent so much time browsing the internet to find a way how to get all headers as a map via Swagger Openapi. Unfortunately, I found nothing so far.

I tried one of our endpoint definitions where we get a map as a request parameter. I have just changed the name value with the headers keyword, and it worked!

Thus, I wanted the documentation to be updated with this additional example, to prevent people from wasting so much time like me.

@ustundag
Copy link
Author

By the way, I couldn't find where to update documentation 3.0. It would be better to add this into 3.0 docs as well.

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.

1 participant