Build and deploy our first SDK in minutes
Install the CLI
Borea CLI: v.1.1.3
If not, rerun the script and verify again.Configure your project
borea.config.json
file.init
commandborea.config.json
file that looks something like this:borea.config.json
. You can overwrite the settings in the config file by passing the proper flags. For all options and flags, see configurationinput
:
openapi
- The relative/absolute path or URL to your OpenAPI spec file (json and yaml supported)output
:
clientSDK
- The name of the SDK when generated. Default is the formatted title in your OpenAPI specmodels
- The name of the folder to hold all the client modelstests
- Enables test generation and running on regenerationxCodeSamples
- Enables generation of x-Code-Samples to be used in you OpenAPI spec and documentationingores
- Folders and files here will be ignored on regeneration, preserving any changes. Glob (gitignore) syntaxValidate your spec
Generate SDK
Add custom code
ignores
field in borea.config.json
.
Any changes you make to those files or folders will be preserved on regeneration.Test your SDKs
Push to remote repo (optional, but recommended)
Create a Remote Respository
Push your new SDK
Publish to remote registries