ring-swagger

ring-swagger & compojure-api
llsouder 2018-10-27T04:58:11.013500Z

after hours of fiddling and searching I found an example that worked with the swagger-ui

llsouder 2018-10-27T13:32:14.015400Z

I whittled my swagger def down to

(defapi service-routes
  {:swagger
   {:ui "/swagger-ui"
    :spec "/swagger.json"}}
  (context "/api" []

   (GET "/get_types" []
...

ikitommi 2018-10-27T13:37:24.016Z

@llsouder that works ok?

llsouder 2018-10-27T14:05:59.017Z

yes. What is missing?

ikitommi 2018-10-27T14:12:02.018500Z

sorry, don't understand. It should work and if that works for you, all is good?

llsouder 2018-10-27T14:13:50.019400Z

yes it is working. thanks!

👍 1