Did you add the Springdoc configurations in your application.properties
file?
If not, try adding these configurations:
springdoc.api-docs.path=/api-docs
springdoc.api-docs.enabled=true
springdoc.show-actuator=true
Then you can use authenticated if you want.