swag
swag copied to clipboard
How to define accept-language in request header?
I'm not sure if there is a feature for this, does anyone know how to do it?
This should work, set false to true if this header is required
// @Param accept-language header string false "some description"
This should work, set false to true if this header is required
// @Param accept-language header string false "some description"
Yes it works, just need to be set repeatedly for each handler, It would be better if it could be set globally.