Skip to content

Commit b9417c5

Browse files
authored
Merge pull request #103 from netlify/regenerate-go-client
Regenerate go client using go-swagger 0.16.0
2 parents 35e47e5 + 844e928 commit b9417c5

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+537
-418
lines changed

.travis.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
language: go
33

44
go:
5-
- 1.8
6-
- 1.9
5+
- "1.10"
6+
- "1.11"
77

88
install: make deps
99
script: make test

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@ deps: ## Download dependencies.
1616
go get -u github.com/golang/dep/cmd/dep && cd ./go && dep ensure
1717

1818
generate: validate ## Generate the API Go client and the JSON document for the UI.
19-
swagger generate client -A netlify -f swagger.yml -t go -c plumbing
19+
swagger generate client -A netlify -f swagger.yml -t go -c plumbing --with-flatten=full
2020

2121
test: ## Test the go code.
2222
cd ./go && go test -v $(CHECK_FILES)

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@ It's still a work in progress and we welcome feedback and contributions.
88

99
We use [go-swagger](https://github.com/go-swagger/go-swagger) to validate our spec against the 2.0 spec of Open API.
1010

11-
We currently depend on version 0.12.0 of the swagger toolchain. You can download the binary for your platform from this release page:
11+
We currently depend on version 0.16.0 of the swagger toolchain. You can download the binary for your platform from this release page:
1212

13-
https://github.com/go-swagger/go-swagger/releases/tag/0.12.0
13+
https://github.com/go-swagger/go-swagger/releases/tag/0.16.0
1414

1515
### Spec validation
1616

go/Gopkg.lock

Lines changed: 126 additions & 9 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

go/models/access_token.go

Lines changed: 0 additions & 6 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)