I have a spring boot application that generates 2 APIs from 2 specification files. I can generate a swagger-ui
page for one of them by adding
springdoc.swagger-ui.url=/firstAPI.yaml
to application.properties
. But how can I include the second API?
I tried:
springdoc.swagger-ui.urls=/firstAPI.yaml,/secondAPI.yaml
That creates a combined http://localhost:8080/v3/api-docs/
but at http://localhost:8080/v3/api-docs/
despite being able to choose between both specs in the top bar, the page says "Failed to load API definition" for both.