From 4b5cdb7ff451bd62391477baffc6e1eff0b0bca7 Mon Sep 17 00:00:00 2001 From: Lajos Date: Sat, 10 Oct 2020 21:55:08 +0200 Subject: [PATCH] gen --- generation.md | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 generation.md diff --git a/generation.md b/generation.md new file mode 100644 index 0000000..a0b6b23 --- /dev/null +++ b/generation.md @@ -0,0 +1,7 @@ +# configcat-publicapi-go-client + +## Generation on Windows +docker run --rm -it --env GOPATH=/go -v %CD%:/go/src -w /go/src swaggerapi/swagger-codegen-cli-v3:latest generate -i https://api.configcat.com/docs/v1/swagger.json -l go -DpackageName=configcatpublicapi + +## Generation on Linux +docker run --rm -v ${PWD}:/local swaggerapi/swagger-codegen-cli-v3:latest generate -i https://api.configcat.com/docs/v1/swagger.json -l go -DpackageName=configcatpublicapi \ No newline at end of file