You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 11, 2021. It is now read-only.
swagger.js hardcodes the request http header Accept: application/json, so it will return 406 Not Acceptable, when request from http://mydomain/schema/?format=openapi, because its repsonse Header is Content-Type: application/openapi+json. So, Can we change the Content-Type to application/json. Thanks.
The text was updated successfully, but these errors were encountered:
swagger.js hardcodes the request http header
Accept: application/json
, so it will return406 Not Acceptable
, when request fromhttp://mydomain/schema/?format=openapi
, because its repsonse Header isContent-Type: application/openapi+json
. So, Can we change theContent-Type
toapplication/json
. Thanks.The text was updated successfully, but these errors were encountered: