ring-swagger & compojure-api
Andreasp1994 2018-07-03T15:20:29.000496Z

Hey can anyone suggest a way to keep compojure-api routes and legacy compojure framework routes side by side?

Andreasp1994 2018-07-03T15:20:49.000164Z

I am trying to do that but they don't seem to work well together.. The one overrides the other...

ikitommi 2018-07-03T17:44:34.000117Z

@andreasp1994 maybe:

(require '[compojure.api.sweet :refer :all]
                  '[compojure.core :as c])

(def app1 (api (GET ...)))

(def app2 (c/routes (c/GET ...)))

Andreasp1994 2018-07-03T18:08:41.000305Z

@ikitommi Thanks will try it out!