This repository contains the source files (.mdx and corex.yaml files) for the documentation at plaid.github.io/core-exchange.
For general purpose code generation we use openapi-generator-cli, this serves as a great starting point for integrators to jump start their integration regardless of whatever programing language they prefer.
See the following steps for generating code yourself:
OpenAPI requires JRE to run correctly. If not already installed please see Java Runtime Environment.
Make sure that you using the correct version of node, we use nvm to make this easy to manage, otherwise there is a .nvmrc
which specifies the node version.
Run the following command with your preferred language. For example, the following example generates python code:
npm run build python
Visit the OpenAPI Generator page for a list of supported languages.
Flag | Description | Usage |
---|---|---|
-v | Use a specific version of CoreX | -v 4.6 |
-m | Only generate the data models | -m |
NOTE: The optional args for openapi-generator-cli must be preceded with --
:
npm run build python-flask -- -arg1 -arg2