Design an API Specification Using MuleSoft’s Visual API Designer

— by

Design your specification in minutes using clicks, not code with the MuleSoft Visual API Designer …

Here are highlights from article Design an API Specification Using MuleSoft’s Visual API Designer

1. Designing API specification:
– API specification helps visualize how the API will work without developing it.
– MuleSoft’s mocking service in API Designer allows testing of the API design.
– API specification can be used to automatically generate initial base code.

2. Creating API specification:
– Access Anypoint Platform’s Design Center and select “Guide me through it” option.
– Use visual API Designer to configure API specification without code.
– Switch between RAML and OAS to see generated code.

3. Managing data types:
– Click on “+” button next to DATA TYPES section to create a new data type.
– Add fields to the data type by clicking on the Add Property button.

4. Creating resources:
– Design API to allow CRUD operations (create, read, update, delete) on resources.
– Create resources for API specification to fit specific needs.
– Available HTTP methods can be specified for each resource.

5. Continued development:
– After generating base RAML/OAS code, it can be edited directly or downloaded for further modification.
– Visual and code designer can be used interchangeably by downloading the code and using the code editor.

You can read it here: https://sfdc.blog/CaDJD

Source from developer(dot)salesforce(dot)com

Newsletter

My latest updates in your e-mail.