ahrefs / atd

Static types for JSON APIs
Other
308 stars 53 forks source link

atddiff: Add an option to output JSON #370

Closed mjambon closed 8 months ago

mjambon commented 8 months ago

The ATD spec for atddiff's output is converted with atdgen to OCaml types used by atddiff. However, we don't want to use the atdgen-runtime library, so the conversion from OCaml to JSON was done by manually constructing a yojson tree.

Closes #360

To do after merging: check that the URL https://github.com/ahrefs/atd/blob/master/atddiff/src/lib/Atddiff_output.atd is valid.

Then I'll make a release.

PR checklist