Octri

sdk validate

Runs the current spec through the generator's validation and prints each error and warning with where it is in the spec. A spec the generator rejects fails the whole build, so this catches it first. It shows the first 25 errors and 10 warnings, and says how many more errors there are.

bash
octri sdk validate

Examples

Validate the spec

bash
octri sdk validate
Output
✔ Validating spec against the generator
✔ Spec is valid.
  • octri sdk audit: Score the spec for SDK quality, then apply or ignore each finding.
  • octri sdk preview: Generate one language without spending a build, and read the files.
  • octri lab run: Validate, build, download and unpack in one command, with a verdict per language.