Open WilliamHYZhang opened 7 months ago
I looked at this a little bit, and I'm not an expert on the code, but my best guess would be something with the 3.1 syntax. My issues depended on a specific combination of oneOf/anyOf, but your schema looks pretty simple.
Yeah, looking again I don't think it has to do with any specific 3.1 syntax...
I am able to reproduce this same failure with the following simple schema: https://github.com/booxter/letsrolld/commit/54ee9ae806f3b736bb6e28cc455f4c433660fe33
Bug Report Checklist
Description
Similar error as #17447, tested on both latest stable version 7.3.0 and latest master branch commit.
openapi-generator version
7.3.0
OpenAPI declaration file content or url
https://github.com/Endgrate/OpenAPI
Generation Details
Steps to reproduce
Copy OpenAPI spec
Run
Install
Import in Python
Gives:
Related issues/PRs
17447, seems like #17659 did not handle all edge cases? Does this have to do with beta support for OpenAPI 3.1?