swag
swag copied to clipboard
[BUG] - Security description annotation not working
I tried to add following comment for API Key security,
// @securityDefinitions.apikey ApiKeyAuth
// @in header
// @name Authorization
// @description Description for what is this security definition being used
Except description
above parameters are parsed.
@sujit-baniya description is only working for OAUTH2 security definition.
But swag is an open-source project; If you find this very important, feel free to implement the missing feature, and I will be more than happy to assist you with a CR.
@ubogdan I think it's important in terms to describe about authentication process (not limited to OAUTH2). Let me see if I can add this feature