-
-
Notifications
You must be signed in to change notification settings - Fork 544
Closed
Labels
questionFurther information is requestedFurther information is requested
Description
Describe the bug
I was trying to aggregate external endpoints in one single swagger UI application by following this documentation, but it is not working.
To Reproduce
Steps to reproduce the behavior:
- What version of spring-boot you are using?
2.6.0 - What modules and versions of springdoc-openapi are you using?
org.springdoc:springdoc-openapi-ui:1.5.13 - Provide with a sample code (HelloController) or Test that reproduces the problem
Refer this sample application in github.
Using below properties to configure external API, but it is still showing Explore search bar:
springdoc.swagger-ui.urls[0].name=Pet Store
springdoc.swagger-ui.urls[0].url=https://petstore.swagger.io/v2/swagger.json
springdoc.swagger-ui.urls[1].name=Weather
springdoc.swagger-ui.urls[1].url=https://idratherbewriting.com/learnapidoc/docs/openapi_spec_and_generated_ref_docs/openapi_openweathermap.yml
Expected behavior
The properties springdoc.swagger-ui.urls.* has no effect, it is still showing Explore search bar. The top bar should show the Select a definition combo with Pet Store and Weather as values.
Screenshots
Swagger UI still shows Explore search bar, refer below screen shot:
Metadata
Metadata
Assignees
Labels
questionFurther information is requestedFurther information is requested