In this tutorial, we will demonstrate how can we include fragments in raml api specification.
In “API SPECIFICATION“, Define how to api will behave and how it communicates with other system & APIs.
Create new API specification
Provide the name of New Api Specifiation
Basic structure is ready like shown below
Click on add dependency using + sign
Select the fragments created in last tutorial
You can see fragments are added as exchange_modules and you can use any fragment in RAML