Closed albjeremias closed 1 year ago
These are JSON Schema documents, not JSON Typedef. I'm afraid jtd-codegen cannot help you here; jtd-codegen only can generate code from JSON Typedef documents.
damn, and is it possible to convert schema do typedef? or maybe i can do it from the schema...
i clone this repo: https://github.com/redaktor/ActivityPubSchema
and did:
jtd-codegen type/Accept.json --typescript-out ts/
and I got