Fork me on GitHub
#ring-swagger
<
2020-12-06
>
jabhi20712:12:02

Hello, I am using compojure-api for routing and swagger docs is generated dynamically using

:swagger  {:ui   "/swagger"
       :spec "/swagger.json"
                     :data {:tags     [{:name "Menu" :description "/api/v1/getmenu"}]
                            :consumes ["application/json"]
                            :produces ["application/json"]}}
                   
Is there any way that i can modify the parameter name for /api/v1/getmenu api only for swagger docs ? Can I use any middleware to transform the api-docs generated ?