Skip to main content

required-server-url

Overview

This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:

A server object defined for the environment must specify a non-empty, non-null and absolute URL path.

PropertyValue
EnabledYes
Maximum SeverityError
MessageServer has a missing URL.
CodeOPENAPI3APIMATIC_L108
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Servers
Products ImpactedAPI Transformer, Code Generation
Tagsopenapi3 openapi apimatic semantic linting server url

Suggested Fixes

  • Specify a valid absolute URL for the server.
  • Make sure the server URL is not empty or null.

For More Information