Hi,
I'm using Javalin behind a proxy and can't make Swagger to work properly.
Without the proxy, things are running ok: the Swagger page work (https//abc-test.example.com:7000/swagger)
With the proxy I get an extra "dr" suffix that apparently breaks path to the resources (https//api-abc.example.com/dr/swagger).
According the old issue here https://github.com/javalin/javalin/issues/1237 there is a way to specify a path for the Webjars.
I assume this is SwaggerConfiguration.setWebJarPath() in the new plugin, but what to change from the default path I get (/webjars/swagger-ui)?
I have tried a few combinations, including trying to make the path relative, but all without success.
Hi, I'm using Javalin behind a proxy and can't make Swagger to work properly. Without the proxy, things are running ok: the Swagger page work (https//abc-test.example.com:7000/swagger) With the proxy I get an extra "dr" suffix that apparently breaks path to the resources (https//api-abc.example.com/dr/swagger).
According the old issue here https://github.com/javalin/javalin/issues/1237 there is a way to specify a path for the Webjars. I assume this is
SwaggerConfiguration.setWebJarPath()
in the new plugin, but what to change from the default path I get (/webjars/swagger-ui
)? I have tried a few combinations, including trying to make the path relative, but all without success.Any pointer would appreciated. Thanks -yves