https://github.com/dhis2/dhis2-json-schema-generator
Generates JSON Schemas for the DHIS2 API
https://github.com/dhis2/dhis2-json-schema-generator
Last synced: 12 months ago
JSON representation
Generates JSON Schemas for the DHIS2 API
- Host: GitHub
- URL: https://github.com/dhis2/dhis2-json-schema-generator
- Owner: dhis2
- License: bsd-3-clause
- Created: 2022-04-18T08:20:26.000Z (about 4 years ago)
- Default Branch: main
- Last Pushed: 2024-03-28T04:11:29.000Z (over 2 years ago)
- Last Synced: 2025-04-17T10:25:16.777Z (about 1 year ago)
- Language: Java
- Homepage:
- Size: 45.4 MB
- Stars: 3
- Watchers: 9
- Forks: 2
- Open Issues: 22
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
DHIS2 JSON Schema Generator
===========================
Usage Examples
--------------
Generate JSON Schemas for DHIS2 API version `2.37.3` in the `schemas` directory and write the documentation to the `docs` directory:
```shell
mvn package exec:java
```
Generate JSON Schemas for DHIS API version `2.37.2` in the `schemas` directory and write the documentation to the `docs` directory:
```shell
mvn package exec:java -Ddhis2.api.version=2.37.2
```
Generate JSON Schemas for DHIS API version `2.37.2` in the `v2.37.2` directory and write the documentation to the `v2.37` directory:
```shell
mvn package exec:java -Ddhis2.api.version=2.37.2 -Dschemas.output.dir=v2.37.2 -Ddocs.output.dir=v2.37
```