ring-swagger & compojure-api
Andreasp1994 2018-07-23T14:13:51.000107Z

I see. Now everything make more sense! Thanks for your detailed answer.

Andreasp1994 2018-07-23T14:14:42.000233Z

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?

Andreasp1994 2018-07-23T14:14:56.000150Z

and then use the swagger-ui function?

ikitommi 2018-07-23T14:49:48.000008Z

@andreasp1994 the ring-swagger-ui bundles the resources and the swagger-ui fn serves them from the classpath.

Andreasp1994 2018-07-23T15:26:16.000278Z

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

Andreasp1994 2018-07-23T15:26:38.000028Z

Please correct me if I am wrong

ikitommi 2018-07-23T15:46:47.000465Z

you need both deps: metosin/ring-swagger and metosin/ring-swagger-ui.

ikitommi 2018-07-23T15:47:06.000418Z

latter has the resources

Andreasp1994 2018-07-23T22:24:10.000004Z

Nice thank you very much!