You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The OpenAPI Generator does not generate the interface correctly when using oneOf.
The ApiResponse is OneOfCatDogHamster.class as seen in the screen shot which is not a generated class.
I want to use the oneOf operator to validate that the api responds with one of cat, dog or hamster class.
Is this even possible to do, if so what am i doing wrong and what is the suggested way to use oneOf keyword in respone
The text was updated successfully, but these errors were encountered:
Q&A (please complete the following information)
OS: macOS Big Sur, 11.4
Browser: chrome
Version: 103.0.5060.53
Swagger-UI version: 3.0.0
Swagger/OpenAPI version: 3.0.3
Content & configuration
Unable to generate response object using oneOf keyword
Swagger/OpenAPI definition:
Swagger-UI configuration options:
Screenshots
How can we help?
The OpenAPI Generator does not generate the interface correctly when using oneOf.
The ApiResponse is OneOfCatDogHamster.class as seen in the screen shot which is not a generated class.
I want to use the oneOf operator to validate that the api responds with one of cat, dog or hamster class.
Is this even possible to do, if so what am i doing wrong and what is the suggested way to use oneOf keyword in respone
The text was updated successfully, but these errors were encountered: