Coder Social home page Coder Social logo

indikasampath2000 / ballerinax-openapi-connectors Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ballerina-platform/openapi-connectors

0.0 1.0 0.0 21.57 MB

Generate Ballerina connector with OpenAPI definition

License: Apache License 2.0

Ballerina 100.00%

ballerinax-openapi-connectors's Introduction

Ballerinax Open API Connectors

Build Build GitHub Last Commit License

This repository manages the connectors generated using Ballerina OpenAPI tool while providing the capability to build and publish generated connectors to Ballerina Central.

Steps to add new connector

Set up the prerequisites

  • Download and install the latest Ballerina version from here.
  • Set the BALLERINA_HOME environment variable to the ballerina distribution directory. eg. /usr/lib/ballerina
  • Fork and Clone the repository

Generate the connector

  1. Navigate to /openapi directory and run bal new <connector_name> -t lib to create a new Ballerina project
  2. Copy the OpenAPI yaml/json definition file of the API you wish to generate the connector to the <connector_name> directory.
  3. Run bal openapi -i <openap_file_name> --mode client to generate the connector.
  4. Run bal build to check whether the newly generated connector is compiling successfully.
  5. Run necessary unit tests to verify the functionality of the generated connector.

Add connector to the repository

  1. Run ./gradlew build.
  2. Push the changes and create a Pull Request to the master branch of the ballerinax-openapi-connector repository.

Contributing to Ballerina

As an open source project, Ballerina welcomes contributions from the community.

For more information, go to the contribution guidelines.

Code of conduct

All contributors are encouraged to read the Ballerina Code of Conduct.

License

Ballerina code is distributed under Apache license 2.0.

Useful links

ballerinax-openapi-connectors's People

Contributors

abeykoon avatar aneeshafedo avatar chuhaa avatar indikasampath2000 avatar kapilraajp avatar kasthuriraajan avatar lakshanss avatar madhurangawije avatar maheshika avatar rolandhewage avatar sachinira avatar sanduds avatar sknuwantissera avatar udda1996 avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.