nevzheng opened a new pull request, #12030: URL: https://github.com/apache/gravitino/pull/12030
### What changes were proposed in this pull request? - Add `:docs:bundleOpenApi` to bundle the default OpenAPI specification. - Write the generated bundle to `docs/open-api/default/openapi.json`. - Regenerate the bundle as part of `:docs:build`. - Document that OpenAPI source changes must include the regenerated JSON. ### Why are the changes needed? This provides a self-contained OpenAPI JSON document that documentation and other downstream consumers can retrieve from a pinned Gravitino revision. Related to #12029 and apache/gravitino-site#138. ### Does this PR introduce _any_ user-facing change? The repository now provides a bundled OpenAPI document at a known path. There are no runtime API changes. ### How was this patch tested? - `./gradlew :docs:bundleOpenApi --rerun-tasks` - Verified repeated generation produces an identical SHA-256 checksum. - Verified the bundle contains no external file references. - `./gradlew :docs:spotlessApply :docs:build` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
