This repository contains scripts, templates, and configuration files that are used in the process of auto generating PureCloud Platform API client libraries based on the API's swagger definition.
Note: As of 9.17.2020 - Genesys Cloud has deprecated Ruby SDK support. The Genesys Cloud team will keep a branch (FROZEN-LAST-VERSION-RUBY-SDK-GENERATION) for the Ruby SDK generation process, but the Ruby SDK code generation will be removed from the main branch in this repository.
For additional information and documentation, see the wiki.
Each SDK configuration has a config file located at ./resources/sdk/<language>/config.json
. This contains all of the general configuration required to build the SDK.
A local config file is typically desired to store sensitive information (like a PureCloud client ID and secret) or to override settings in the standard config file.
For full documentation, see Config Files on the wiki.
First, from this repo's directory, install dependencies:
npm install
Then start the build process by specifying which SDK to build. This command will look in ./resources/sdk/<language>
to find the primary config file (config.json
or config.yaml
) and a local config file (localConfig.json
or localConfig.yaml
). If a JSON and YAML config file exist, the JSON file will be preferred.
node sdkBuilder --sdk purecloudjava
The above command is equivalent to providing these paths to config files (assuming JSON files exist):
node sdkBuilder --config ./resources/sdk/purecloudjava/config.json --localconfig ./resources/sdk/purecloudjava/localConfig.json