Nowadays many popular OpenAPI specifications describe objects using oneOf
/ anyOf
/ allOf
keywords. Regardless if this was a good or a bad idea, the OpenAPI generator should support this to avoid having to resort to manual fixes in build chains.
Full support for these keywords in all generators.
Describe alternatives you've consideredRight now the only feasible workaround is to manually remove all of the methods that use these schema combine keywords or to implement them by hand in the generated code. This is obviously not ideal.
Additional contextThis has been reported in many occassions before: #10450, #10352, #9858 , #9684, #9443, #2906, #5381, #8647, #8860, #9601, #9981, #9305, #9301, #9163, #8860, and many more.
fabiante, grigoni, maciex, c0dezli, andresC98 and 78 morethetric, alexmercerind, Dizzzmas, davidrupprecht, sobimor and 1 more
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4