Skip to main content

Module schema

Module schema 

Source
Expand description

YAML schema parsing and validation for function specifications.

Handles loading spec files with version validation and actionable error messages.

Structs§

SpecFile
A spec file containing multiple function specifications.

Enums§

SchemaError
Errors that can occur when parsing spec files.

Constants§

CURRENT_VERSION
The current spec file format version.

Functions§

validate_spec 🔒
Validate a function specification.
validate_taint_location 🔒
Validate a [TaintLocation] is not Unknown.