Contributions
Re: Interactive API Docs 'Try it out!' does not set "Accept" header
I am having a similar issue. My curl always looks like this: curl -X GET --header 'Accept: text/html' when what I need is this: curl -X GET --header 'Accept: application/json' Isn't there a simple way to do this? I tried the solution above, to no avail, adding both: produces: - 'application/json' and under parameters: - name: "Accept" in: header type: string default: "application/json" description: application/json is currently supported Any help appreciated!3.9KViews0likes1Comment