git clone [email protected]:ewilde/go-form3.git
cd go-form3
make build
Environment variables | Description |
---|---|
FORM3_HOST | Form 3 host e.g. api.form3.tech |
FORM3_ACC | Set to 1 to run integration tests |
FORM3_CLIENT_ID | Client id |
FORM3_CLIENT_SECRET | Secret |
TF_LOG | "TRACE", "DEBUG", "INFO", "WARN", "ERROR" |
make testacc FORM3_ACC=1 FORM3_CLIENT_ID=xxx FORM3_CLIENT_SECRET=xxx FORM3_HOST=api.whistle.env.form3.tech FORM3_ORGANISATION_ID=xxx
To generate the swagger model run: swagger generate client -f ./swagger.yaml