Fork me on GitHub
#ring-swagger
<
2018-10-27
>
llsouder04:10:11

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

llsouder13:10:14

I whittled my swagger def down to

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

   (GET "/get_types" []
...

llsouder14:10:59

yes. What is missing?

ikitommi14:10:02

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

llsouder14:10:50

yes it is working. thanks!

👍 4