Skip to content

Commit

Permalink
Updates to Counter and List Alpha.proto Methods (#3544)
Browse files Browse the repository at this point in the history
Changes alpha.proto to URIs that the restapi can be properly generated from
  • Loading branch information
igooch authored Dec 15, 2023
1 parent 66caba4 commit 0f42cc1
Show file tree
Hide file tree
Showing 10 changed files with 147 additions and 155 deletions.
2 changes: 1 addition & 1 deletion build/build-sdk-images/restapi/gen.sh
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ header() {
cat /go/src/agones.dev/agones/build/boilerplate.go.txt "$1" | sponge "$1"
}

wget -q https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.35/swagger-codegen-cli-3.0.35.jar -O /tmp/swagger-codegen-cli.jar
wget -q https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.51/swagger-codegen-cli-3.0.51.jar -O /tmp/swagger-codegen-cli.jar

rm -rf /go/src/agones.dev/agones/test/sdk/restapi/swagger /go/src/agones.dev/agones/test/sdk/restapi/alpha/swagger
java -jar /tmp/swagger-codegen-cli.jar generate -i /go/src/agones.dev/agones/sdks/swagger/sdk.swagger.json -l go -o /go/src/agones.dev/agones/test/sdk/restapi/swagger
Expand Down
122 changes: 60 additions & 62 deletions pkg/sdk/alpha/alpha.pb.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 0f42cc1

Please sign in to comment.