express-jsdoc-swagger
express-jsdoc-swagger copied to clipboard
Adding REQUEST Header for Apis
trafficstars
I can't find any method to add REQUEST headers for api documentation. Is there any method to do it? 'Cause only the RESPONSE header feature is only there.
I think I got the solution, the trick to add REQUEST headers is just by adding .header in the params with the header name like this:
@param {string} example.header - example description
I used this but it does't change the url thats being generated on "try it" but the UI changes the name to "header". So I am still at the starting point, any help will be beneficial.