This repository manages the connectors generated using Ballerina OpenAPI tool while providing the capability to build and publish generated connectors to Ballerina Central.
- Download and install the latest Ballerina version from here.
- Set the
BALLERINA_HOMEenvironment variable to the ballerina distribution directory. eg./usr/lib/ballerina - Fork and Clone the repository
- Navigate to
/openapidirectory and runbal new <connector_name> -t libto create a new Ballerina project - Copy the OpenAPI yaml/json definition file of the API you wish to generate the connector to the
<connector_name>directory. - Run
bal openapi -i <openap_file_name> --mode clientto generate the connector. - Run
bal buildto check whether the newly generated connector is compiling successfully. - Run necessary unit tests to verify the functionality of the generated connector.
- Run
./gradlew build. - Push the changes and create a Pull Request to the
masterbranch of theballerinax-openapi-connectorrepository.
As an open source project, Ballerina welcomes contributions from the community.
For more information, go to the contribution guidelines.
All contributors are encouraged to read the Ballerina Code of Conduct.
Ballerina code is distributed under Apache license 2.0.
- Discuss code changes of the Ballerina project in [email protected].
- Chat live with us via our Discord server.
- Post all technical questions on Stack Overflow with the #ballerina tag.