Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 6 additions & 2 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -31,9 +31,13 @@ bench:
bench_race:
go test -race -bench=. ./benchmark -timeout 10m

gen_rest_client:
get-apidocs:
curl -o apidocs.json http://localhost:7300/apidocs

gen-rest-client:
rm -r restclient
mkdir -p restclient
openapi-generator generate -i ./openapi.yaml -g go -o restclient \
openapi-generator generate -i ./apidocs.json -g go -o restclient \
--git-user-id functionstream \
--git-repo-id functionstream/restclient \
--package-name restclient \
Expand Down
Loading