Skip to content

Commit

Permalink
Update go-petstore-withxml with new generateInterfaces option
Browse files Browse the repository at this point in the history
  • Loading branch information
arvindth committed Apr 19, 2020
1 parent e42a5e1 commit 90d4447
Show file tree
Hide file tree
Showing 8 changed files with 431 additions and 7 deletions.
2 changes: 1 addition & 1 deletion bin/go-petstore-withxml.sh
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,6 @@ rm -rf $STUB_DIR

# if you've executed sbt assembly previously it will use that instead.
export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
ags="generate -t modules/openapi-generator/src/main/resources/go -i $SPEC -g $GENERATOR -o $STUB_DIR --additional-properties packageName=petstore,withXml=true,withGoCodegenComment=true $@"
ags="generate -t modules/openapi-generator/src/main/resources/go -i $SPEC -g $GENERATOR -o $STUB_DIR --additional-properties packageName=petstore,withXml=true,withGoCodegenComment=true,generateInterfaces=true $@"

java $JAVA_OPTS -jar $executable $ags
14 changes: 14 additions & 0 deletions samples/client/petstore/go/go-petstore-withXml/api_another_fake.go

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

180 changes: 180 additions & 0 deletions samples/client/petstore/go/go-petstore-withXml/api_fake.go

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

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

97 changes: 97 additions & 0 deletions samples/client/petstore/go/go-petstore-withXml/api_pet.go

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

43 changes: 43 additions & 0 deletions samples/client/petstore/go/go-petstore-withXml/api_store.go

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

Loading

0 comments on commit 90d4447

Please sign in to comment.