Proper swagger url
Could you post the proper swagger api docs url for Mango 3.5? "swagger.enabled=true" is in my mango/overrides/properties/env.properties file. Thank you.
JoelHaggar last edited by
This is the URL I see in the latest env.properties file and it seems to work for me. /swagger-ui.html
@joelhaggar Thanks, Joel. Pilot error in overrides file - interesting that there was an "enabled = false" prior to the "enabled = true". Thanks for the bother.
@JoelHaggar That URL also works for me but I get an error saying:
"Unable to infer base url. This is common when using dynamic servlet registration or when the API is behind an API Gateway. The base url is the root of where all the swagger resources are served. For e.g. if the api is available at http://example.org/api/v2/api-docs then the base url is http://example.org/api/. Please enter the location manually:"
My full url is: http://localhost:8080/swagger-ui.html
Do you know why I might be getting this error?
@khuang That was the error I was receiving. Might try making sure there's no "swagger-enabled = false" anywhere in your overrides file (or you're missing the "enabled=true" flavor, of course.
@bullitbd Thanks, that helped me find the problem. I forgot to restart Mango after the change.