You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Add JSON schemas for Topology, Scenario, Experiment, Image, and other schemas to SchemaStore. This would enable auto-completion and validation in editors such as VSCode, improving quality of life for developers.
The primry barrier to me simply opening a PR on SchemaStore is the fact the JSON schema is embedded in Go code and only generated in JSON form when doing a query to /api/v1/schemas/{version} (v1 or v2). To add it to SchemaStore, the file must be static committed into GitHub. There appears to be at least one schema file in the Builder directory, but I think it's out of date.
The text was updated successfully, but these errors were encountered:
This seems like a good idea @GhostofGoes, and it should be possible to use Go's native file embed capabilities to facilitate having the schemas as static JSON files in the repo while still being embedded in the Go binary.
Add JSON schemas for Topology, Scenario, Experiment, Image, and other schemas to SchemaStore. This would enable auto-completion and validation in editors such as VSCode, improving quality of life for developers.
The primry barrier to me simply opening a PR on SchemaStore is the fact the JSON schema is embedded in Go code and only generated in JSON form when doing a query to
/api/v1/schemas/{version}
(v1 or v2). To add it to SchemaStore, the file must be static committed into GitHub. There appears to be at least one schema file in the Builder directory, but I think it's out of date.The text was updated successfully, but these errors were encountered: