I see. Now everything make more sense! Thanks for your detailed answer.
So I managed to emit a swagger spec and mount it to an endpoint but I can't figure out how to get the swagger-ui working... do I have to setup the swagger ui resources first?
and then use the swagger-ui function?
@andreasp1994 the ring-swagger-ui bundles the resources and the swagger-ui fn serves them from the classpath.
And ring-swagger-ui is integrated in ring-swagger so that means that I won't be needing any static resources however it doesn't work when I try without resources... for some reason swagger-ui does not serve the bundled resources
Please correct me if I am wrong
you need both deps:
metosin/ring-swagger
and metosin/ring-swagger-ui
.
latter has the resources
Nice thank you very much!