Open
Description
Sometimes it's necessary to return different entities depending on internal business logic. It would be nice to be able to document all possible success entities. Like with failure
method but without status codes.
Something like this:
desc "List of users" do
success [Entities::Customer, Entities::Client]
is_array true
end