Skip to main content



This rule belongs to the raml-validation ruleset and states that:

A default value must be provided for the base URI parameter using the default property that can be substituted in the base URI in case no other value is supplied at the time of making the request. If a value is not provided in the RAML document, a dummy value will be assigned automatically as the default value during import/transformations in APIMatic.

Maximum SeverityError
MessageNo default value provided for base URI parameter.
Rule SystemSemantic
Broad CategoryAPI Metadata
Products ImpactedAPI Transformer, Code Generation, Developer Experience Portal
Tagsraml semantic validation default parameter base uri uri

Suggested Fixes

  • Add missing default property in the base URI parameter definition.
  • Make sure that the default property value is not null or empty.

For More Information