Something went wrong. Try again.
sloproxy
Something went wrong. Try again.
refactor(util): use structured options for JSON schema cleaning master
- Replaced boolean parameters with a `jsonSchemaCleanOptions` struct in `cleanJSONSchema` to improve readability and scalability. - Updated `CleanJSONSchemaForAntigravity` and related methods to utilize the new options struct. - Enhanced flexibility for schema transformations with fine-grained control over operations like union flattening, enum type enforcement, and metadata removal. - Added comprehensive tests to verify correct handling of unions and enum types in schemas. Closes: #4666
Author Luis Pater Date (Jul 29, 2026, 7:40 PM UTC) Commit 2b63d6bc 2b63d6bcda136af1d3638be8e0038658911fb217 Parent 8cdd3f1d 8cdd3f1d3628ebe3ddc3630093399bd16bc12ab1