Skip to main content

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.

PropertyValue
EnabledYes
Maximum SeverityBlocking
MessageSDL is invalid.
CodeAPIMATICSYNTAX_V001
TypeValidation
Rule SystemSyntax
Broad CategoryAPI Root
Products ImpactedCode Generation, Developer Experience Portal, API Transformer
Tagssyntax 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.