Fix standalone enum registration in ObjectSerializer enumsMap
Replace runtime enum value entries (e.g. Result.Valid) with the type name string (e.g. "Result") in the enumsMap set, so enumsMap.has(type) correctly identifies standalone enums during serialization/deserialization. Also update the Mustache template to skip importing standalone enum types since they are no longer referenced in the generated objectSerializer body. Fixes #1659
B
beppe committed
0e0a50442aef3c165282454aa6de625f39067776
Parent: ee5af79
Committed by Beppe Catanese <1771700+gcatanese@users.noreply.github.com>
on 6/11/2026, 6:39:33 AM