Tero Hagström

Results 10 comments of Tero Hagström

Great! Will have a go at this. It might take several weeks calendar time depending on our backlog prioritization.

In our project we are currently using versions of valdr-bean-validation and valdr frontend containing this modification. I would appreciate if you took the time to look into merging these PRs,...

We are having this same problem and have worked around it with modifying the Mustache templates, but that makes upgrading the openapi-generator a pain. @leonyu would you welcome a PR...

Not sure I tagged the right guy there. Maybe @TiFu or @mkusaka can comment whether a PR on this would be welcome?

@macjohnny would a small PR with a couple of template modifications be welcome?

I have used a workaround where I drop the "oneOf" from the parent and leave just the "discriminator". See the Pet, Cat, Dog, Lizard example at https://swagger.io/specification/v3/#discriminator-object

> The problem I see with this workaround is that your specification is not compliant as the documentation states `The discriminator object is legal only when using one of the...

> fyi. there's a new option called `generateOneOfAnyOfWrappers` for better oneOf/anyOf support: https://openapi-generator.tech/docs/generators/kotlin/ > > please give it a try to see if it better meet your requirement I tried...

> fyi. there's a new option called `generateOneOfAnyOfWrappers` for better oneOf/anyOf support: https://openapi-generator.tech/docs/generators/kotlin/ > > please give it a try to see if it better meet your requirement I just...