mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 08:46:55 +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