This is the code generator for RingCentral Extensible core module. More specifically, the definitions and the paths.
We provide this tool because by default the RingCentral Extensible core module only supports public API. There are partners and internal teams which need access to internal/beta API. So they can use this tool to generate code themselves.
yarn add ringcentral-code-generator
import generate from 'ringcentral-code-generator'
generate('/path/to/spec.yml', '/path/to/output/folder');
Rename .env.sample
to .env
. Edit .env
to specify the path to spec and the output folder.
yarn test