webhook-group-non-empty-description
Overview
This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:
When a description is provided for a webhook group, it must contain a non-empty value. An empty description provides no useful information and should either be removed or populated with meaningful content.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Warning |
| Message | Webhook group description must not be empty. |
| Code | OPENAPI3APIMATIC_L1054 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Webhooks |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | openapi3 openapi apimatic semantic linting webhook group description empty |
Suggested Fixes
- Provide a meaningful description for the webhook group.
- Remove the description field if no description is needed.
For More Information
- https://docs.apimatic.io/specification-extensions/swagger-codegen-extensions/#webhook-group-extension
- https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.1.0.md#fixed-fields
- https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md
- https://docs.apimatic.io/rulesets/overview/