ring-swagger

ring-swagger & compojure-api
jabhi207 2020-12-06T12:59:02.008Z

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 ?