Add support for produces and consumes to Swagger