Hardcoded the produces and consumes strings for swagger.
Added a patch that would allow setting body parameters from the ApiDoc.