I simply tried to add
(PUT* "/my/route" []
:return mySchema
:body [param (describe paramSchema "my param")]
:middlewares [identity]
(ok "done"))
in my route declaration, the middlewares appears to work, but the YAML generated for the api-docs occurs as if there were no schema provided. So the swagger ui don't show any more input fields.