Replies: 1 comment
-
|
Update: scoped into milestone Schema Spec v0.1.0 with design brief at |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Status: Raw idea — needs exploration and refinement
Idea
Today the OpenDecree schema format is defined by Go structs and proto messages. External tools (renderers, validators, UI editors, format converters) cannot consume it without going through a Go SDK. Publishing the schema format as a language-neutral spec — JSON Schema draft 2020-12, an OpenAPI-style profile, or a custom formally-versioned document — would unlock an OAS-style ecosystem where anyone can write a Python/TS/Rust renderer, a VS Code extension, or a schema-diff tool without touching Go.
Concrete example:
sdk/tools/docgenis Go-only. If the schema were published as JSON Schema, someone could write an alternative Markdown/HTML/PDF renderer in their language of choice, exactly how Widdershins and Redoc coexist against the OpenAPI spec.Open questions
Next steps
Refine using the idea checklist, then decide if it warrants an issue.
Beta Was this translation helpful? Give feedback.
All reactions