how to simplify RAML API specification using Resource Type