master
to_swagger
def to_swagger result = { swagger: '2.0', consumes: ['application/json'], produces: ['application/json'],