My API has a default envelope for all collection-type resources, like the following:
{
"data": [{},{},{}],
"self": "http://api-url/members",
"total": 120,
"limit": 10,
"offset": 0
}
Is it possible to define this using RAML? Inside a resourceType? How?