ory / sdk

The place where ORY's SDKs are being auto-generated
Apache License 2.0
141 stars 85 forks source link

feat: use dart-dio now that it supports polymorphism #211

Closed AllenKaplan closed 2 years ago

AllenKaplan commented 2 years ago

Description

After months of work dart-dio has been updated with furthered support of OAS3 https://github.com/OpenAPITools/openapi-generator/pull/12295

It would be in user's interest to use the more encompassing dart generator leveraging dio (replacement of dart's http pkg) with OAS3 polymorphism support

Related Issue or Design Document

Previous PR to switch off dart-dio due to issues with not generating flutter 3 compatible code https://github.com/ory/sdk/pull/202

Checklist

Further comments

Full disclosure I have not tested generating Ory SDK with dart over dart-dio 🙊

aeneasr commented 2 years ago

Awesome, thank you! 🎉 Your contribution makes Ory better :)