ringcentral-code-generator

This is the code generator for RingCentral Extensible core module. More specifically, the definitions and the paths.

Usage no npm install needed!

<script type="module">
  import ringcentralCodeGenerator from 'https://cdn.skypack.dev/ringcentral-code-generator';
</script>

README

RingCentral Code Generator for TypeScript

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.

Install

yarn add ringcentral-code-generator

Usage

import generate from 'ringcentral-code-generator'

generate('/path/to/spec.yml', '/path/to/output/folder');

Test

Rename .env.sample to .env. Edit .env to specify the path to spec and the output folder.

yarn test