The Java BrAPI Schema Tools generates OpenAPI Specification or GraphQL Schema generation. There is also a basic spring application that allows you to view the BrAPI Specification.
The Java BrAPI Schema Tools consists of 4 modules:
- application - A spring application that allow you to view the generated specification
- buildSrc - Defines the plugins use by the gradle
- cli - The command line tool that makes use of the core module
- core - The core schema tools for OpenAPI Specification or GraphQL Schema generation
-
Download the Command Line Interface (CLI) from the Releases page
-
Run the application on your terminal
brapi
For more control over the OpenAPI Specification or GraphQL Schema generation or to contribute, please contact the developers by creating a GitHub issue or look directly at the code
- Create an issue from the Issues, describing the new feature
- Create a branch from develop from that new issue
- Make changes on the branch, add tests etc. Change the version in the gradle.properties file. Make sure the version is a -SNAPSHOT version and is increased by at least a minor version from the current version in the develop branch
- Create a Pull Request (PR) to merge into develop branch, ask for a review from another develop
- On approval of PR merge the PR, this will automatically create a SNAPSHOT release that another can use.
- Create a branch from develop for the release.
- Update the version in the gradle.properties making sure the '-SNAPSHOT' suffix is removed.
- Create a PR to merge into the main branch.
- Get approval for the PR and merge
- This will automatically create the release.
- Checkout main branch
- Merge in develop
- Update the version in the gradle.properties making sure the '-SNAPSHOT' suffix is removed.
- Commit and push
- This will automatically create the release.