build.rb
will generate all clients for all Swagger supported languages.
If this is your first time building the clients, you'll need to do the following:
- Install this single gem:
gem install http
- Create a secret gist on Github and get an API token too.
Everytime the API spec is updated, be sure to bump the version number in swagger.yml
, then run:
ruby build.rb
Boom. That's it.
go run main.go
Sometimes this will fail due to github caching or something and versions will be off. Just bump version and retry.