ruby-grape / grape-swagger

Add OAPI/swagger v2.0 compliant documentation to your grape API
MIT License
1.09k stars 471 forks source link

Duplicate Access-Control-Allow-Origin #333

Open tonobo opened 8 years ago

tonobo commented 8 years ago

Hey, in doc_methods.rb you're defining some response headers. Is it possible to remove them, because normally i want to setup all required headers in my app or proxy server. Nginx will add a duplicate in this case, which will break all the stuff.

Please checkout these sections. Code part 1 Code part 2

maokomioko commented 2 years ago

Stumbled upon this as well :) Is there any way to remove those without monkeypatching?