-
refactor(util): use structured options for JSON schema cleaning
发布于
2026-07-29 19:40:04 +00:00 - Replaced boolean parameters with a
jsonSchemaCleanOptionsstruct incleanJSONSchemato improve readability and scalability. - Updated
CleanJSONSchemaForAntigravityand 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
下载附件
- Replaced boolean parameters with a