Forum Discussion

pkhdi's avatar
pkhdi
Occasional Visitor
3 months ago

Info object is ignored in swagger ui

When I view the REST api of my spring boot application in swagger-ui, the info object (title, version and description) of my yaml definition is ignored and only default values ("OpenAPI definition", "v0", no description) are shown. Why could that be?

yaml:

swagger-ui:

 

1 Reply

  • I suspect you're loading a different OpenAPI description that expected. Even looking at the `servers` listing it's rendering `http://localhost:8080 - Generated Server url` and not `http://localhost:8080/v2`.