|
|
|
|
|
by kazoomonger
1736 days ago
|
|
When using tooling that accepts YAML (or JSON) configuration, I always want something to say "this is what you can write that will have an effect". As a specific example, when I'm writing a snapcraft.yaml, I want to be able to view a schema to see what all I can put in there. What's important is that the schema is actually used by snapcraft itself for validation, otherwise it's no better than the rest of the snapcraft documentation, which is pretty meh. Schemas are also easy to digest for other tooling, so e.g. my editor can automatically highlight when I make a mistake, without having to specifically write a plugin for each tool that accepts JSON/YAML |
|