Anypoint Best Practices

base-url-pattern-server

general > base-url-pattern-server


Guidance / Message

'{{core.urlTemplate}}' should include “api” and the version of the API in the base URL. For example, `domain/api/v1`

Examples

valid

#%RAML 1.0
title: example api
baseUri: /api/v1/something

invalid

#%RAML 1.0
title: example api
baseUri: /domain/something

Applies to Server

Constraint

Type: Declarative Validation
TypeRuleset
OrganizationMuleSoft
Published by
Mulesoft Organization
Published onJun 12, 2026
Asset overview

Asset versions for 1.6.x

Asset versions
VersionActions
1.6.5
1.6.3
1.6.1
1.6.0

Tags