GenerateConfigSchema generates a JSON schema for all config atoms
(root *RootElem)
| 293 | |
| 294 | // GenerateConfigSchema generates a JSON schema for all config atoms |
| 295 | func GenerateConfigSchema(root *RootElem) map[string]any { |
| 296 | configAtoms := root.getAtomsByPrefix("$config.") |
| 297 | return generateSchemaFromAtoms(configAtoms, "Application Configuration", "Application configuration settings") |
| 298 | } |
| 299 | |
| 300 | // GenerateDataSchema generates a JSON schema for all data atoms |
| 301 | func GenerateDataSchema(root *RootElem) map[string]any { |
no test coverage detected