I suggest adding support `anyOf` to codegen. the difference between `anyOf` and `oneOf` is discussed here: https://stackoverflow.com/a/56039838