Recently I have worked on generating ReScript code from JSON schema (potentially OpenAPI). To accommodate this in the best possible way, I’ve prepared a rescript-struct
and rescript-json-schema
update. For now, it’s more of a house-in-order release, but it opens the way for more exciting features.
A few highlights:
-
rescript-json-schema
now provides a complete type definition for JSON schema draft-7. Before it was an opaque type. -
rescript-struct
works with Js.Json.t by default for better compatibility with existing code. - And a huge list of improvements, which you can find in the full release notes: