FusionAuth / fusionauth-python-client

FusionAuth Python Client
https://fusionauth.io
Apache License 2.0
24 stars 12 forks source link

Python types #14

Open sjohnsonaz opened 3 years ago

sjohnsonaz commented 3 years ago

Can types be added? There are a lot of data structures coming back from the fusionauth API. It would be really helpful if they were defined here.

mooreds commented 3 years ago

Hmmm. Should be possible. We have all the type info in JSON files: https://github.com/FusionAuth/fusionauth-client-builder/tree/master/src/main/domain which are used to build other typed languages: https://github.com/FusionAuth/fusionauth-client-builder/tree/master/src/main/client

We'd welcome a PR against the fusionauth-client-builder project which added types. I'm happy to chat with you about how that might work if you'd like.

If types aren't backwards compatible, probably makes sense to create a fusionauth-python-typed-client library.