Override @Api authorization settings in @ApiOperation

17 views
Skip to first unread message

Thomas Isaksen

unread,
Jan 10, 2018, 7:55:54 AM1/10/18
to Swagger
I have a class which is annotated with @Api(value = "Test", authorizations = { .... } ) and so on..
This marks all methods as requiring authorization which is fine. However, I have a single method for which I do not want to require authorization. I figured I could do @ApiOperation(..., authorizations = {}) but it's not working .


--
Thomas Isaksen
Reply all
Reply to author
Forward
0 new messages