oapi-codegen
oapi-codegen copied to clipboard
fix: strict server with union type
Fixes https://github.com/deepmap/oapi-codegen/issues/748
Inspired by https://github.com/deepmap/oapi-codegen/pull/865
Encode the .union property when dealing with a .union type.