Implementing APIs
Use Anypoint Code Builder to start an API implementation by importing and scaffolding an API spec into an interface that you implement and integrate within a Mule app.
Anypoint Code Builder supports automated scaffolding of OAS, RAML, AsyncAPI, and GraphQL APIs, except for APIs that reference OAS or JSON schema fragment dependencies from Exchange.
The methods for implementing APIs using Anypoint Code Builder are:
-
Scaffold an API from a spec in Exchange and create a new implementation project.
-
Import an API spec from Exchange to scaffold the API in an existing integration project.
-
Scaffold an API into an implementation project without first publishing it to Anypoint Exchange, enabling iterative design and implementation.
After scaffolding an API specification into an interface, you are ready to develop, test, and deploy your Mule app as described in Developing Integrations. To understand how an integration project can implement an API specification, see the tutorial Implementing the American Flights API Spec.
Source Control for Implementation Projects
Use source control management (SCM) to store and share your design, integration, and implementation projects. For source control options, see Controlling Source Files.