valid-sdl-syntax
Overview
This rule belongs to the apimatic-syntax-validation ruleset and states that:
SDL must follow the pre-defined syntax rules. All properties must be defined according to those rules. Contact APIMatic team for more details.
| Property | Value |
|---|---|
| Enabled | Yes |
| Maximum Severity | Blocking |
| Message | SDL is invalid. |
| Code | APIMATICSYNTAX_V001 |
| Type | Validation |
| Rule System | Syntax |
| Broad Category | API Root |
| Products Impacted | Code Generation, Developer Experience Portal, API Transformer |
| Tags | syntax service description language sdl metadata validation apimatic |
Suggested Fixes
- Fix any syntax issues in the SDL.
- Ensure that you haven't defined a property expected to be an array as an object or vice versa.
- Make sure that you didn't declare a numeric property as a string or vice versa.