Skip to main content

required-server-name

Overview

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

A non-null, non-empty, user-friendly name or identifier must be provided for the server name.

PropertyValue
EnabledYes
Maximum SeverityError
MessageServer name is missing or empty.
CodeOPENAPI3APIMATIC_L107
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Servers
Products ImpactedAPI Transformer, Code Generation
Tagsopenapi3 openapi apimatic semantic linting server name

Suggested Fixes

  • Server name must not be null or empty.
  • Assign a code-friendly and user-friendly name.
  • Avoid using special characters in the name.

For More Information