tim-vandecasteele/grape-swagger — pull request #110 by bagilevi (2014-06-26 15:39:23+00:00)
Title: added responseModel support

Include the entity defined in `http_codes` as a `responseModel`.

Example:

desc 'This returns something or an error', {
entity: Entities::Something,
http_codes: [
[200, "OK", Entities::Something],
[403, "Refused to return something", Entities::Error]
]
}