Skip to main content

callback-no-group-assigned-warning

Overview

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

It is recommended that callbacks are assigned to a callback group using the APIMatic callback group extension. Unassigned callbacks may not be properly categorized in the generated documentation or SDKs.

PropertyValue
EnabledYes
Maximum SeverityWarning
MessageNo callback group has been assigned to this callback.
CodeOPENAPI3APIMATIC_L503
TypeLinting
Rule SystemSemantic
Broad CategoryOpenAPI Callbacks
Products ImpactedCode Generation, Developer Experience Portal
Tagsopenapi3 openapi apimatic semantic linting callback group extension

Suggested Fixes

  • Assign a callback group to each callback using the APIMatic x-callback-group extension.
  • Define callback groups using the x-callback-groups extension at the root level.

For More Information