Deduplicate type-alias definitions in the JSON Schema output
Deduplicate type-alias definitions in the JSON Schema output: a task in MiMo-V2.6-RL-harbor-code: MiMo-V2.6-RL Code (Harbor) (Harbor dataset). Our generator can emit shared, named definitions for TypeScript type aliases when the alias-ref feature is enabled (the option that gives each referenced…
The task
Our generator can emit shared, named definitions for TypeScript type aliases when the alias-ref feature is enabled (the option that gives each referenced type alias its own entry under `definitions`, referenced via `$ref`). That part works, but the output is wasteful: when an alias is nothing more than a name for…
Part of FineEnvs/MiMo-V2.6-RL-harbor-code.