I have developed an API where the responses are intercepted and wrapped around some common json properties like
{
data: { The Actual Response },
statusCode: 200,
commonProperty: {}
}
With RAML how could I duplicate this behaviour?
I don’t want to type that schema on every response.