Skip to main content

valid-method-name-conventions

Overview

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

Method names must use letters, numbers, spaces, underscores and dashes only. The name must start with a letter.

PropertyValue
EnabledYes
Maximum SeverityError
MessageSpecified method name is invalid.
CodeAPIMATICCODEGEN_V045
TypeValidation
Rule SystemSemantic
Broad CategoryEndpoints
Products ImpactedCode Generation, Developer Experience Portal
Tagsapimatic code generation codegen sdks portal docs validation apimatic method name endpoint

Suggested Fixes

  • Make sure the name does not contain any forbidden characters.
  • Make sure the name starts with a letter.
  • Use only letters, numbers, spaces, underscores and dashes.
  • Must match regex pattern ^[a-zA-Z]+[a-zA-Z-_ 0-9]*$

For More Information