Skip to content

Commit eb0ae9b

Browse files
authored
Merge pull request #72 from eschwartz/generate
Regenerate swagger client from DCE master
2 parents 03410a9 + 9fe2d59 commit eb0ae9b

Some content is hidden

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

42 files changed

+2550
-113
lines changed

Makefile

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,9 @@ all: mocks test build
55
# Generate client code from swagger in a local dce repo (make openapi DCE_REPO=/path/to/dce)
66
openapi:
77
echo "\nMANUAL STEP: Install goswagger cli tool if needed: https://goswagger.io/install.html\n"
8-
swagger flatten --with-expand $(DCE_REPO)/modules/swagger.yaml >> $(PWD)/out.yaml
8+
swagger flatten --with-expand $(DCE_REPO)/modules/swagger.yaml > $(PWD)/out.yaml
99
swagger generate client -f $(PWD)/out.yaml --skip-validation -t $(PWD)
10+
rm ./out.yaml
1011

1112

1213
# Generate interfaces for OpenApi clients so they can be mocked.
@@ -37,4 +38,4 @@ build:
3738

3839
.PHONY: docs
3940
docs:
40-
./update_docs
41+
./update_docs

client/c_o_r_s/cors_client.go

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

client/c_o_r_s/options_auth_file_parameters.go

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

client/c_o_r_s/options_auth_file_responses.go

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

0 commit comments

Comments
 (0)