fabiomaffioletti / jsondoc

Easily generate docs and playground for your RESTful API
http://jsondoc.org
MIT License
264 stars 127 forks source link

changing the method mergeApiMethodDoc to recognize ApiHeaders #233

Open warnoleto opened 7 years ago

warnoleto commented 7 years ago

This issue was created long ago and no one has commented about that. But I decided to work on it anyways. I realised that the scanner used on springmvc are only recognizing headers mapped on the RequestMapping annotation. But there you can't describe the header. What i did wont change the regular behavior but will give an option to add headers that are not mapped on the RequestMapping annotation using the ApiHeaders annotation.