RECIPE 03 – Designing your API with Swagger in Anypoint API Designer

This recipe explains how you can design an API with Swagger Editor in API Designer and use the file in Anypoint API Designer.

 

Open API Specification (OAS) 2.0, widely known as Swagger is a powerful tool to define the structure of REST APIs. You can easily design, describe and document the API in Swagger editor. The API Designer in MuleSoft CloudHub account, supports the following specifications:

  • RAML 0.8 and 1.0
  • Open API Specification (OAS) 2.0, widely known as Swagger

 

<<Back to resources

Whenever a user imports an Open API Specification in API Designer, API Designer converts the OAS code to RAML. Once the user completes the designing of the API in Anypoint API Designer (in RAML specification), the user can implement the API in Anypoint Studio.