reuse::partial$beta-banner.adoc
Use Anypoint Code Builder to create, design, test, and publish new API specifications to Exchange.
The process for designing API specifications is:
For source management options, see SCM for API Design Projects.
Supported OAS and RAML versions are:
-
OAS 2.0 (JSON)
-
OAS 2.0 (YAML)
-
OAS 3.0 (JSON)
-
OAS 3.0 (YAML)
-
RAML 1.0
-
RAML 0.8
Supported AsyncAPI versions are:
-
AsyncAPI 2.6 (JSON)
-
AsyncAPI 2.6 (YAML)
For gRPC API specifications, Anypoint Code Builder supports Protocol Buffers (Protobuf 3). See des-design-grpc-api-spec.adoc.
Create, include, or reference API fragments within your API specification.
Supported API specification languages and syntaxes for API fragments are:
-
OAS 3.0
-
YAML
-
JSON
-
-
RAML 1.0
See the RAML 1.0 specification for descriptions of these types:
-
Trait
-
Resource
-
Library
-
Data Type
-
User Documentation
-
Example
-
-
JSON Schema
-
Avro 1.9.0 schema
-
gRPC fragments (Protobuf 3)
Reusable Protobuf definitions (for example,
messageorenumtypes) published as API fragment assets. See Publish a gRPC Fragment to Exchange.
When parsing an API specification, the desktop IDE depends on your computer’s resources. To avoid issues, ensure that your computer has the following minimum resources available:
anypoint-code-builder::partial$acb-api-design.adoc
To avoid common issues, follow these guidelines:
anypoint-code-builder::partial$acb-api-design.adoc
+ This best practice applies to the cloud IDE only.
-
Before designing an OAS or RAML API specification, review OAS Specification Best Practices or RAML Specification Best Practices
anypoint-code-builder::partial$acb-reusable-steps.adoc Source control options for API design projects depend on how and when you created the project:
-
As of the February 2024 release, design projects that you create from scratch in Anypoint Code Builder with Design an API (see Create a New API Specification Project) or with the command
MuleSoft: Design an APIno longer use MuleSoft VCS to store and sync changes. -
If you prefer to use your own remote repository, GitHub is one option. To store your API project in a repository on GitHub, without synchronizing with the project in MuleSoft VCS, see publish your project files to another repository.
anypoint-code-builder::partial$acb-reusable-steps.adoc