I Am a fresher and working On mule Projects. I have a requirement that I need to create RAML more reusable so fewer code lines will be there. I need to create a Resource Type with all HTTP methods like POST GET DELETE.
someone can help me on this with some details?
6 answers
Hello,
You can use it like this
/accounts:
type:
collection:
exampleReference1: !include /examples/account.json
exampleReference2: !include /examples/account1.json
first example is refering to GETand second to POST