|
|
|
|
|
by Sytten
638 days ago
|
|
The code generators for OpenAPI are rarely good compared to what you find in GraphQL in my experience. The Swagger Generator / OpenAPI Generator (why the fork...) that is the "standard" is kinda of a mess. In rust Oxide had to write their own [1] which is actually decent, but you really need to know it exists. [1] https://github.com/oxidecomputer/progenitor |
|
I've been advocating for finding a better data definition system for Moonwalk (and yes, that's my name on the post-2016 JSON Schema drafts- it's a great runtime constraint system, and it could still be useful for that purpose alongside a system more tailored to data definition).
[1] https://modern-json-schema.com/json-schema-is-a-constraint-s...