mirror of
https://seed.radicle.dev/rad:z3gqcJUoA1n9HaHKufZs5FCSGazv5.git
synced 2026-11-29 14:00:31 +08:00
Leverage `schemars` to generate a JSON Schema from our structs for configurations and those occurring within them. The output of `rad config schema` can be used by editors to provide a smoother editing experience for the configuration file. Discovery attributes (both keys and values) is greatly improved with the schema helping in the background. Refer to: - https://json-schema.org - https://code.visualstudio.com/docs/languages/json#_json-schemas-and-settings - https://schemastore.org