This procedure launches the new project and generates a Main flow with an HTTP Listener, an APIkit Router, and references to flows to handle errors. The project support REST resources and methods. These flows, aptly called skeleton flows, are the bare minimum needed to support the RAML specification. The RAML file imported by this procedure resides in src/main/api
.
-
Download the example file to your local drive:
https://docs.mulesoft.com/apikit/v/3.x/_attachments/api.raml[api.raml]
. -
Under the File menu, select New > Mule Project.
-
In the New Mule Project wizard, enter a Name, myproject for example, Mule Runtime 3.8.0.
-
Check Add APIkit Components. In the RAML File field, browse to and select the downloaded
api.raml
file. -
Click Finish.