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:
Cases where there was a clear $ref, but the generated type had the same name as the property
Binary operator '==' cannot be applied to two 'Any' operands
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
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:
Binary operator '==' cannot be applied to two 'Any' operands
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