Skip to main content

callback-valid-key

Overview

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

Callback keys must follow valid naming conventions so they can be reliably referenced and processed.

PropertyValue
EnabledYes
Maximum SeverityError
MessageThe callback key is not valid.
CodeOPENAPI3APIMATIC_L502
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Callbacks
Products ImpactedCode Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting callback key validation

Suggested Fixes

  • Ensure that callback keys are non-empty and follow valid naming conventions.
  • Avoid using special characters that may cause issues during code generation.

For More Information