mirror of
https://github.com/LGUG2Z/komorebi.git
synced 2026-11-15 13:22:19 +01:00
d63c4012834e6a8d8f52ad96a80fc4c0e1bd68f2
Schemars 1.2.0 changed how HashMap<EnumKey, T> generates schemas. Instead of using additionalProperties with a schema, it now generates explicit properties with enum variant names as keys and additionalProperties: false. This change: - Updates get_map_inner_type to detect both schemars 1.1 and 1.2 patterns - Adds is_enum_keyed_map helper to identify enum-keyed map schemas - Fixes usage link generation to skip enum-keyed map properties (they render inline without heading anchors) - Maintains backward compatibility with schemars 1.1 schemas Fixes wrapper type detection so PerAnimationPrefixConfig displays instead of PerAnimationPrefixConfig2/3, and prevents broken anchor links to non-existent property headings.