Skip to content
This repository has been archived by the owner on Dec 23, 2024. It is now read-only.

[openapi-gen][bug] Java client is not able to generate class for oneOf field with primitive objects #17

Open
VamshikShetty opened this issue Jul 27, 2022 · 0 comments

Comments

@VamshikShetty
Copy link
Contributor

In create device input, we need to set metro and facility params exclusive to each other. Hence both need to be wrapped inside a oneOf field but currently openapi generator doesn't support oneOf with primitive types.

Ref : https://stackoverflow.com/questions/71538915/openapi-generator-for-java-is-not-able-to-generate-class-for-oneof-field-with-pr

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant