SDK developers of strictly typed languages rejoice


There is an automated way to get the swagger.json file consistent!

This does some important things:

  1. Makes sure all ints are uint64, even implicit int64s. Unfortunately it cannot search within lists. This is a 80-20 Pareto Law decision.
  2. Add big integer classes (required for go, don’t know about java) for Amount, Fee, etc…


for me this is still an open github issue with an inconsistent swagger.yml:

the question is whether this will be changed or whether we will further rely on changing the swagger.yml

thanks for sharing the script!


The inconsistent swagger file is partly due to the fact that Swagger isn’t good enough for this, and partly due to bad maintenance of the file…

I’ve commented on the GitHub issue.