Fork me on GitHub
#biff
<
2023-09-02
>
m.q.warnock15:09:45

It's not immediately obvious to me how to support an open-api (or swagger) endpoint, with biff's usage of reitit, given this example: https://github.com/metosin/reitit/blob/master/examples/ring-malli-swagger/src/example/server.clj - I expect I can figure it out, but maybe someone here has done it (or understands the routing stuff better than I do), or maybe it's something best done by modifying biff?

Jacob O'Bryant20:09:40

I haven't done any swagger stuff myself, but you can replace the biff/reitit-handler fn with it's implementation and then that should give you enough flexibility to do whatever you need.

👍 2