mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-10-14 00:13:50 +00:00
avoid intersection type by splitting the statements into separate code-branches. for each branch the type of `value` is therefor no longer an intersection Fixes https://github.com/OpenAPITools/openapi-generator/issues/20636