The swagger user interface is currently open without any security scheme. You must implement basic auth for the swagger user interface. This way, every time it issues a username and password before displaying the user interface.
I authenticated with ApiKey but could not configure for BasicAuth.
Very new to spring
source
share