new/updated swagger fields: required, enum, minimum, maximum, $ref
swagger array fields added
swagger updates: produces/consumes support and some bug fixes