QuestionQ30

VerifiedExpose production-ready Anypoint Platform-managed APIs from Mule applications

A developer has produced the first version of an API for business partners to use with commodity prices.

What should the developer do so that the implementation can expose more than one major version of the same API?

Explanation

RAML defines the consumer-facing API URL through baseUri, which can contain a URI-template variable such as v{version}. Including the major-version variable there enables clients to call distinct major-version paths, such as /v1 and /v2, while the API implementation exposes those versions. MuleSoft recommends including only the major API version in the application URL.

Learn more

Community Discussion

No comments yet. Be the first to start the discussion!