yonaskolb / SwagGen

OpenAPI/Swagger 3.0 Parser and Swift code generator
MIT License
625 stars 147 forks source link

Assumed types cause multiple issues #156

Open MatrixSenpai opened 5 years ago

MatrixSenpai commented 5 years ago

After generating an API from a 3rd-party OAS spec, I was a little surprised and not a little annoyed to find 999+ errors generated.

Among those were most commonly:

I'm fixing the first by hand, mostly by eliminating unnecessary items from the schema, but that's still giving me 300+ errors to start with. The second, I have yet to figure out.

Here's a link to the API, the OpenAPI file is at the very top