Page MenuHomePhabricator

Document and validate configuration
Closed, ResolvedPublic3 Estimated Story Points

Description

Use http://jsonschema.net/ to create a JSON Schema file with metadata (title, descriptions and default value) of configuration key. Maybe add some validation patterns (required, regexes, numeric, etc).

Use Matic (https://github.com/mattyod/matic ) to generate HTML documentation from the schema.

Add schema validation step to composer ci to validate config.dist.json