Checks if the specified schema definition is syntactically valid.

Usage

typesync validate --definition <filePathOrPattern> --debug <debug>

Options

definition
string
required

The exact path or a Glob pattern to the definition file or files. Each definition file must be a YAML or JSON file containing model definitions.

  • Example single file path: definition/models.json
  • Example Glob pattern: 'definition/**/*.yml'
debug
boolean
default: false

Whether to enable debug logs.