Files
fn-serverless/clients
Travis Reeder b827135200 Switch to go-swagger for client lib and checks for IRON_TOKEN (#406)
* wip - for review, using go-swagger client and checking for IRON_TOKEN and passing as auth header.

* wip - auth header

* add golang builder

* finish client builder

* change gh username

* fix git command

* update readme and small fixes

* some improvements

* using go-swagger

* fn new client

* revert swagger

* make fn routes and apps work with new client (go-swagger)

* some fixes in fn apps

* update functions_go
2017-01-24 08:08:40 -08:00
..
2016-10-14 11:40:20 -07:00
2016-11-15 16:40:33 -08:00

build.rb will generate all clients for all Swagger supported languages.

Building and Deploying Clients

First Time

If this is your first time building the clients, you'll need to do the following:

  1. Install this single gem:
gem install http
  1. Create a secret gist on Github and get an API token too.

Every Time

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.

Building with the Go Builder

go run main.go

Troubleshooting

Sometimes this will fail due to github caching or something and versions will be off. Just bump version and retry.