-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #46 from tidepool-org/add-summary-client
[BACK-2168] add generated summary client
- Loading branch information
Showing
32 changed files
with
18,227 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# go-common Makefile | ||
|
||
# Generates client files | ||
generate: | ||
swagger-cli bundle ../TidepoolApi/reference/summary.v1.yaml -o ./spec/summary.v1.yaml -t yaml | ||
oapi-codegen -package=api -generate=types spec/summary.v1.yaml > clients/summary/types.go | ||
oapi-codegen -package=api -generate=client spec/summary.v1.yaml > clients/summary/client.go | ||
cd clients/summary && go generate ./... |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.