Closed
Description
Swagger-UI is able to document errors with responseModels. grape-swagger has implemented this feature too.
Now it would be nice, when I could present my errors with an entity directly, for instace like this:
error!({ code: 'deleted',
with: Iron::Entities::Error,
message: "Account has ..."
}, 410)