SmartDocs isn't properly handling base path ending in /

We are importing a JSON file from swagger api-docs (swagger 2.0) where the base path is simply / This combined with the endpoint path is resulting in smart docs interpreting the resultant path to the endpoint as having double slashes. e.g. my.api.host//foo-api/pathParm

We believe the problem is in import into smart docs, since this same JSON is interpreted properly (just one / ) by swagger-ui

0 2 130
2 REPLIES 2

Hi @Patrick McMichael I see it too. It's misleading but I am able to make the API call successfuly. Does it work for you as well?

@Patrick McMichael

Have you tried removing the leading "/" from the paths ?

Alternatively you can also drop the basePath from your definition.