-
Story
-
Resolution: Done
-
Major
-
None
-
None
The cli tool configuration schema is defined in json schema: https://www.jsonschemavalidator.net/s/yVFwHCWE
This is super helpful for validation and serialization/deserialization of yaml/json and it also lends well with documenting the schema.
There are some tools to generate golang structs directly from the schema file - which we should leverage because it's a fairly big configuration.
AC:
- the makefile can generate the golang structs from the jsonschema (like openshift/api does for example with swagger)
- the cli can validate the json schema and read it into generated structs as described in the design doc
- clones
-
CFE-20 CLI Scaffolding
- Closed