Skip to navigation

Load state (detailed)

Referenced In

Fields

FieldTypeDescriptionDefault
pathstringRequired. Path of the state file, ending in .json. A relative path resolves against directory, or against outputDir when directory is omitted.

Pattern: ^.*\S.*\.json$
—
directorystringOptional. Directory to load the state file from. A relative directory resolves against the spec file. Omit it to load from outputDir.

Minimum length: 1. Pattern: \S
—

Examples

{
"path": "auth.json"
}
{
"path": "auth.json",
"directory": "../.auth"
}