Repository navigation
v0.12.1
Highlights
-
Keywords beside a message payload's own
$ref, such asrequired, now print a warning, as go-jsonschema warns about keywords beside a$refeverywhere else. They are still ignored. For example:aapi-codegen: warning: schema fidelity: channels.orders.messages.OrderPlaced.payload does not enforce all it declares: required beside $ref not checked -
A payload schema that is itself a
$refto another schema, such as acomponents.schemasentry that only refers to another one, gave code that used a type declared nowhere, so it didn't compile. The generator now stops with an error that says to point the payload's$refat the other schema. A$refto a schema of the same title works as before. -
examples/use-aapi-codegen.sh:AAPI_CACHEis now the cache root, with a directory per version, so a customAAPI_CACHEno longer keeps returning the first version's binary afterAAPI_VERSIONchanges. The default cache path is unchanged. A customAAPI_CACHEthat already ended in the version gets one more level, and one more download. -
Payload types still come from go-jsonschema v0.30.0, and the binaries are built with Go 1.26.11. Every spec in the test suite generates the same code as with v0.12.0.
All changes: v0.12.0...v0.12.1.