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
0.0.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>