Skip to content

Development

tomasroy-ibm edited this page Oct 12, 2020 · 1 revision

Setup / Installation

  1. Make sure you have the latest Oracle JDK from here.
  2. Download IBM's openapi-sdkgen, following the steps here. Move to this directory (don't worry, it's ignored).

Generation

  1. Download the Code Engine API Swagger (swagger.json) from here. Move to this directory (don't worry, it's ignored).
  2. 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.

  1. Run go test ./... to build and test the generated code.
Clone this wiki locally