-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #6 from plantbreeding/develop
Develop
- Loading branch information
Showing
127 changed files
with
6,152 additions
and
941 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,14 @@ | ||
# brapi-schema-tools | ||
Tools used to manipulate, extend, convert, and modify the BrAPI Specification documents | ||
Tools used to manipulate, extend, convert, and modify the BrAPI Specification documents. | ||
|
||
Only the [Java based tools](java/README.md) are available at the moment. | ||
|
||
These consist of a Command Line Interface (CLI) that can generate OpenAPI Specification or | ||
GraphQL Schema from the BrAPI JSON Schema. | ||
|
||
## BrAPI JSON Schema | ||
The BrAPI JSON Schema is a new way to define the Data and Query model for BrAPI using JSON Schema. | ||
|
||
The approach is experimental, but it is likely to be supported in a future release of BrAPI. | ||
PLease go to the 'data-model-separation' branch of BrAPI to see the JSON Schema. | ||
* https://github.com/plantbreeding/BrAPI/tree/data-model-separation/Specification/BrAPI-Schema |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,34 @@ | ||
# BrAPI Schema Tools | ||
# BrAPI Schema Tools - Java | ||
|
||
BrAPI Schema Tools generates and view the BrAPI Specification | ||
The Java BrAPI Schema Tools generates OpenAPI Specification or GraphQL Schema generation. | ||
There is also a basic spring application that allow you to view the BrAPI Specification. | ||
|
||
Here you find the following modules | ||
## Quick Start | ||
|
||
1. Download the Command Line Interface (CLI) from the | ||
[Releases](https://github.com/plantbreeding/brapi-schema-tools/releases) page | ||
2. Run the application on your terminal | ||
* In windows | ||
|
||
```powershell | ||
BrAPITools | ||
``` | ||
* In Linux or macOS | ||
```shell | ||
BrAPITools | ||
``` | ||
## For developers | ||
For more control over the OpenAPI Specification or GraphQL Schema generation or to | ||
contribute, please contact the developers by creating a | ||
[GitHub issue](https://github.com/plantbreeding/brapi-schema-tools/issues) or look directly at the | ||
code | ||
The Java BrAPI Schema Tools consists of 4 modules: | ||
* [application](application/README.md) - A spring application that allow you to view the generated specification | ||
* buildSrc- Defines the plugins use by the gradle | ||
* buildSrc - Defines the plugins use by the gradle | ||
* [cli](cli/README.md) - The command line tool that makes use of the core module | ||
* [core](core/README.md) - The core schema tools | ||
* [core](core/README.md) - The core schema tools for OpenAPI Specification or GraphQL Schema generation |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,4 @@ | ||
management.endpoints.web.exposure.include=health,metrics,info | ||
spring.graphql.schema.printer.enabled=true | ||
spring.graphql.graphiql.enabled=true | ||
spring.graphql.graphiql.enabled=true | ||
server.port=8081 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.