- Notifications
You must be signed in to change notification settings - Fork56
ballerina-platform/openapi-tools
Folders and files
| Name | Name | Last commit message | Last commit date | |
|---|---|---|---|---|
Repository files navigation
Ballerina OpenAPI tools provide seamless integration between Ballerina and OpenAPI specifications, enabling bothcontract-first and code-first API development approaches. Thebal openapi command offers contract optimizationthroughflatten andalign operations to make OpenAPI contracts Ballerina-compatible, bidirectional code generationto create Ballerina services and clients from OpenAPI contracts or export OpenAPI specifications from Ballerinaservices, and build-time integration via theadd command for automated client generation. Additionally,the OpenAPI module provides annotations like@openapi:ServiceInfo,@openapi:ResourceInfo, and@openapi:Exampleto enrich generated contracts with metadata, enable runtime introspection by exposing OpenAPI documentation, validateservice implementations against existing contracts at compile-time, and enhance API documentation with examples anddescriptions.
OpenJDK 21 (Adopt OpenJDK or any other OpenJDK distribution)
Info: You can also useOracle JDK. Set the JAVA_HOME environment variable to the pathname of the directory into which you installed JDK.
Export GitHub Personal access token with read package permissions as follows,
export packageUser=<Username>export packagePAT=<Personal access token>
Execute the commands below to build from the source.
To build the library:
./gradlew clean buildTo run the integration tests:
./gradlew clean testTo build the module without the tests:
./gradlew clean build -x testTo publish to maven local:
./gradlew clean build publishToMavenLocal
As an open-source project, Ballerina welcomes contributions from the community.
You can also check foropen issues thatinterest you. We look forward to receiving your contributions.
For more information, go to thecontribution guidelines.
All contributors are encouraged to read theBallerina Code of Conduct.
- Discuss about code changes of the Ballerina project inballerina-dev@googlegroups.com.
- Chat live with us via ourDiscord server.
- Post all technical questions on Stack Overflow with the#ballerina tag.
- View theBallerina performance test results.
About
Ballerina OpenApi-Tool
Topics
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
Uh oh!
There was an error while loading.Please reload this page.