oapi-codegen icon indicating copy to clipboard operation
oapi-codegen copied to clipboard

fix: strict server with union type

Open johanneswuerbach opened this issue 3 years ago • 0 comments

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.

johanneswuerbach avatar Jan 25 '23 08:01 johanneswuerbach