If I have a function that returns this:
render :json => @orders.as_json(include: [{:user => {only: :id}}], :only => [:id, :status_id])
I am documenting it like this:
# @return [JSON] includes the id, the order status id and the id of the associated user
I am wondering if there is a better way of document how the returned JSON will look like.