c-lightning has a tool for parsing its json-schema files
and generate arbitrary file from it, called msggen
We use this feature to generate F# DTOs and client methods. To run this project,
- install poetry and python of appropriate version,
- clone DNL repository with submodule (c-lightning)
- And run
poetry run msggen
in this repository.
We do not run this automatically for the security purpose. Rather we require new PR to make a change to the DTOs.