callback-payload-verification-valid-digest-encoding
Overview
This rule belongs to the openapi-v3-apimatic-linting ruleset and states that:
The payload verification digest encoding must be one of the supported encoding formats. Invalid encoding values will prevent proper payload verification configuration.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Error |
| Message | The specified payload verification digest encoding is not valid. |
| Code | OPENAPI3APIMATIC_L517 |
| 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 digest encoding invalid |
Suggested Fixes
- Use one of the supported digest encoding formats for payload verification.
- Verify the encoding value matches a supported format i.e., hex, base64, base64url, etc.
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/