-
Notifications
You must be signed in to change notification settings - Fork 8
Development
tomasroy-ibm edited this page Oct 12, 2020
·
1 revision
- Make sure you have the latest Oracle JDK from here.
- Download IBM's openapi-sdkgen, following the steps here. Move to this directory (don't worry, it's ignored).
- Download the Code Engine API Swagger (swagger.json) from here. Move to this directory (don't worry, it's ignored).
- Run the following command to generate the SDK:
./openapi-sdkgen/openapi-sdkgen.sh generate -g ibm-go -i swagger.json -c sdkgen_config.json
This will generate the SDK Client and tests in the ibmcloudcodeenginev1
folder.
- Run
go test ./...
to build and test the generated code.