Load state (detailed)
Referenced In
Fields
| Field | Type | Description | Default |
|---|---|---|---|
| path | string | Required. Path of the state file, ending in .json. A relative path resolves against directory, or against outputDir when directory is omitted.Pattern: ^.*\S.*\.json$ | — |
| directory | string | Optional. 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"}