You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Currently, on has to add manually :swagger {:consumes ["application/x-www-form-urlencoded"]} to endpoints that accept :form params. This can be automated:
#84 will outdate this. But a quick-win while waiting for that.
EDIT: I think the Muuntaja Middleware/Interceptor should also be changed that if there are is :form, but no :body parameters defined, it will not push it's own swagger-data. Otherwise, the order of the mw matters (the last one overrides), which would be awful.
The text was updated successfully, but these errors were encountered:
Currently, on has to add manually
:swagger {:consumes ["application/x-www-form-urlencoded"]}
to endpoints that accept:form
params. This can be automated::form
, but not:body
params, the parameters-middleware & parameters-interceptor should publish the needed:consumes
example how to do that in the muuntaja-middleware
#84 will outdate this. But a quick-win while waiting for that.
EDIT: I think the Muuntaja Middleware/Interceptor should also be changed that if there are is
:form
, but no:body
parameters defined, it will not push it's own swagger-data. Otherwise, the order of the mw matters (the last one overrides), which would be awful.The text was updated successfully, but these errors were encountered: