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.
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.