JingsongLi opened a new pull request, #9289:
URL: https://github.com/apache/paimon/pull/9289

   ## What changed
   
   - align the REST Catalog OpenAPI 3.1 schema with the Java wire contract
   - add missing `defaultValue`, vector type, drop-primary-key, error resource, 
audit field, global-list, view-comment, and instant discriminator definitions
   - replace OpenAPI 3.0-only nullable declarations and malformed YAML examples
   - add a REST OpenAPI contract validator and run it as part of the 
documentation build
   - add Java JSON-shape regression coverage for provider-facing types and 
changes
   
   ## Why
   
   The published OpenAPI document had drifted from the Java REST DTOs in 
several places. This made strict OpenAPI validation fail and could produce 
incomplete or incorrect models for language clients, including the Go client 
intended for Terraform integration.
   
   ## User impact
   
   REST Catalog client implementations can use the OpenAPI document as a 
validated language-neutral contract. The change does not add a Terraform 
provider or a Go SDK to this repository.
   
   ## Validation
   
   - `mvn -pl paimon-core -am -Pfast-build -DfailIfNoTests=false 
-DwildcardSuites=none -Dtest=RESTApiJsonTest test`
   - `mvn -pl paimon-core -DskipTests validate`
   - `yarn build` under `docs`
   - OpenAPI Generator 7.24 validation and Go client generation smoke test
   


-- 
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]

Reply via email to