make more consistent with swagger-core ruby example