Something went wrong. Try again.
fork of hey-api/openapi-ts because I need some additional things
Something went wrong. Try again.
fix(shared): support non-string discriminator property types master
OpenAPI discriminator mappings use string keys, but the actual discriminator property may be boolean, integer, or number. Previously, all discriminator values were hardcoded as type 'string'. This change detects the actual property type from the schema and converts mapping values accordingly.
Author Sipan Petrosyan Date (Feb 14, 2026, 5:15 PM UTC) Commit dd0be9c6 dd0be9c6ca93552c3367ca8e8ba785381295a112 Parent a55a5e12 a55a5e12972ccbf3a7ce10df5a3ba163b23c5341