Switch the moclojer to reitit instead of pedestal-routes #225
Closed
matheusfrancisco
started this conversation in
General
Replies: 2 comments 3 replies
-
@matheusfrancisco this option makes sense to me, but we need to be clear on a few points:
|
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Currently, I run into an issue which is this one #206 to add swagger into moclojer, but pedestal does not offer a straightforward approach, but reitit does. But reitit does not offer a straightforward multi host then this metosin/reitit#660 showed me the path and I create this interceptor to reproduce https://github.com/matheusfrancisco/multihost-reitit-pedestal/blob/main/src/clojure/playground/server.clj#L26
So I see some paths.
1 - We do stay a little long without swagger, we try to figure out with pedestal-route.
2 - We migrate to reitit and then implement swagger?
3 - Or we try to implement a swagger for pedestal by our own (it could take a while)
What do you think about it?
Beta Was this translation helpful? Give feedback.
All reactions