@johan178 there are various swagger examples here: https://github.com/metosin/reitit/tree/master/examples. They should get you most of the way there.
whats the best way to add websockets support while using reitit/
@plins just like with other routing libs, I recall Luminus template has web sockets, if not, the sente example is a good place to start
https://github.com/ptaoussanis/sente/blob/master/README.md#on-the-server-clojure-side
there is no reitit-based middleware / interceptor stack, so you need to encode/decode messages yourself, of by the ws-framework.
we have an in-house ws-impl that uses interceptors, could be integrated as a module to reitit at some point. But, not needed.
@ikitommi regarding swagger kebab case converting, I have made a small gist that id like to transform into a PR, or at least an example in the official documentation https://gist.github.com/pablo-develop/76eb66f6ea9f4db19a86aadf59a4d188 do you have any inputs?
example (under examples
) would be super.
thanks Ill see if I find better names and will create a PR
how can I add a base URL to swagger?
[ base url: ] is empty in my ui
found it 😃