Closed
Description
Describe the bug
I was trying to use the springdoc.swagger-ui.swaggerUrls[0].name and springdoc.swagger-ui.swaggerUrls[0].name properties presented on the documentation but they didn't work.
To Reproduce
Steps to reproduce the behavior:
- spring-boot: 2.2.5.RELEASE
- org.springdoc:springdoc-openapi-ui:1.2.33
Using the properties
springdoc.swagger-ui.swaggerUrls[0].name=REST API
springdoc.swagger-ui.swaggerUrls[0].url=/v3/api-docs
has no effect and the "Explore"search bar is still shown.
Expected behavior
With a single swaggerUrls provided the top bar should show the "Select a definition" combo.
Additional context
The example on de App 2 on the demos leads to the conclusion that the only way to achieve that is programmatically. If that is the case, do not keep the properties or its documentation.
I would also like to question why it is swaggerUrls instead of urls like on the Swagger UI documentation.