Repository navigation
v0.1.0
Smithy API model package with the following built-in functionality:
- When build via
./gradlew buildorgradle wrapper build, automatically:- Validate Smithy models
- Generate consolidated Smithy model JSON file at
./build/smithyprojections/consent-management-api-models/source/model/model.json - Generate OpenAPI JSON specification at
./build/smithyprojections/consent-management-api-models/source/openapi/ConsentManagementApi.openapi.json
- Includes
scripts/generate-docs.shscript to support locally generating ReDoc API documentation from the above OpenAPI JSON spec, with prerequisites of installing the yq JSON to YAML conversion utility and the @redocly/cli NPM package - Includes GitHub workflow to automatically generate and publish API documentation to GitHub Pages whenever a changes is pushed to the main branch