I'm using java 17 and spring 2.6.3 and this package : springdoc-openapi-ui:1.6.5 and I was wondering how I can add login endpoint to the swagger documentation ? I'm using Spring's security package and login endpoint is provided for me but still I want it to be included in my Swagger UI.
Add following property in your application.properties file:
springdoc.show-login-endpoint=true
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With