plaid-openapi
plaid-openapi copied to clipboard
Any plans to update OpenAPI Generator version for Python?
Hello!
Version 6.1 used here does not support asyncio library, which is super useful in modern Python world.
Do you have plans to update your spec to support OpenAPI Generator to version 7+?
Currently, trying to build the current spec under 7.0.0+ raised a number of errors includiung "Codegen Property not yet supported in getPydanticType".
So the issue is that there was a major rewrite of the Python generator in version 6.2, and the python generator was replaced with a version that outputs code with, as I understand it, a very different interface. The ability to use the old version was removed in version 7.0.0. Because of this change to the python generator, we've been reluctant to upgrade our python libraries to 7.x as it would result in extensive breaking changes for all of our python-using customers if they want to use the latest client libraries.
The fact that the current spec doesn't build under 7.0.0 is also, honestly, not super promising and indicates that the python generator used by 7.x might not be complete enough for us to adopt, but if you do get it working, please let us know, as that will inform changes we'd need to make to get it to build under 7.0.0.
In the meantime, it's very useful to have feedback like this where folks let us know what they'd like to see in the python libraries, as it helps us understand the urgency or lack thereof around upgrading.
I wrote and use an async plaid library in python, fully typed, using pydantic models. Unfortunately, it turns out that the plaid api doesn't always follow its own openapi spec, so pydantic might not be the right choice here.
@declaresub That's awesome, is it published to GitHub? We'd be happy to feature it as a community library if you would be open to that.
In any case, we do try to make sure the API is actually consistent with the spec and to fix any reported inconsistencies promptly, so if there are any cases you see where the API isn't matching the spec, please report them as issues against https://github.com/plaid/plaid-openapi so we can fix them.
I have reported the issue I found as you suggested.
My library is not on GitHub. I've considered making it available. Once it is working for me, it is of course twice as much work to clean it up for another user.