extension from the previous question
I'm trying to have ring-swagger set up with this api
and using spec internally
is there anyway to convert a spec to camelCase for the sake of swagger?
You need to transform the swagger spec manually, for example using a custom middleware for the swagger endpoint route
Are you using compojure-api?
no, luminus+reitit
ok, just add {:middleware [custom-response-kebabizer]}
to the swagger routes
ah thanks
looking at the code (https://github.com/metosin/reitit/blob/master/modules/reitit-swagger/src/reitit/swagger.cljc) , it would be a non-breaking change to add options to the swagger handler to do that more elegantly.