springfox/springfox-demos

How to define security at root level

wanxg opened this issue · 1 comments

wanxg commented

Following the documentation, I am able to define securitySchemes under components, and security element for each operation. But according to the swagger spec, the security element can be defined at the root level as well. I tried to search in the documentation and could not find any hint. Could you please tell how to do that? Thanks!

wanxg commented

sorry, created in a wrong project.