'How to make Springdoc to answer on /swagger-ui/ as Springfox was doing?

I am trying to migrate from Springfox to Springdoc. I had Springfox answering on

http://localhost:8080/swagger-ui/

How to make Springdoc to answer at the same place? I tries application.properties

springdoc.swagger-ui.path=/swagger-ui/
springdoc.swagger-ui.path=/swagger-ui/index.html
springdoc.swagger-ui.path=/index.html
springdoc.swagger-ui.path=/

but in all cases it was something different.



Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source