Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

JSON Schema: Completion & Validation

Slumber generates a publishes a JSON Schema for both the Config and Collection formats. These are published via the git repository and are accessible at:

Replace 4.2.1 with the version of Slumber you use for the most accurate schema definitions.

IDE Completion

Most IDEs use yaml-language-server for YAML highlighting and validation. This server supports additional validation with custom JSON schemas. To enable this, add this comment to the top of your config or collection file:

# yaml-language-server: $schema=<url from above>