Fork me on GitHub
#ring-swagger
<
2020-09-18
>
deadghost21:09:13

Anyone get swagger working with pedestal? I'm trying to figure out the minimum to get it working as there are quite a few layers and interactions of libraries going on. pedestal-api uses route-swagger which uses ring-swagger. I don't want to use pedestal-api as it's a "batteries included" pedestal when I'm already using pedestal. route-swagger's last commit was 2017 with an issue filed shortly after by the author of pedestal-api saying "https://github.com/frankiesardo/route-swagger/issues/33". So it looks like I need to use ring-swagger with ring-swagger-ui and write an interceptor based on http://metosin.github.io/ring-swagger/doc/ring.swagger.ui.html#var-swagger-ui?