Skip to main content

valid-api-base-url

Overview

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

The Base URL specified for the API must be a non-empty non-null absolute URL.

PropertyValue
EnabledYes
Maximum SeverityError
MessageBase URL is invalid.
CodeAPIMATICCODEGEN_V031
TypeValidation
Rule SystemSemantic
Broad CategoryServer Configuration
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic code generation codegen sdks portal docs validation apimatic base url api

Suggested Fixes

  • URL must be non-empty and non-null.
  • Do not use relative paths for base URL. URL must be absolute.
  • The URL should contain the protocol/scheme (e.g. http) and the host path.

For More Information