webhook-valid-placeholder-delimiter
Overview
This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:
Placeholders in the payload verification message template must use valid delimiters. Invalid delimiters will prevent proper parsing of the message template.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | The payload verification message template has an invalid placeholder delimiter. |
| Code | OPENAPI3APIMATIC_L1052 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Webhooks |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | openapi3 openapi apimatic semantic linting webhook payload verification message template placeholder delimiter |
Suggested Fixes
- Ensure all placeholders in the message template use valid delimiters.
- Check that opening and closing delimiters are properly matched.
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/