callback-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_L522 |
| Type | Linting |
| Rule System | Semantic |
| Broad Category | OpenAPI Callbacks |
| Products Impacted | Code Generation, Developer Experience Portal |
| Tags | openapi3 openapi apimatic semantic linting callback 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/#callback-group-extension
- https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md#callback-object
- https://github.com/OAI/OpenAPI-Specification/blob/main/versions/3.0.3.md
- https://docs.apimatic.io/rulesets/overview/