Our great sponsors
-
Here is your answer: drf_spectacular
-
openapi-generator
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3)
Unless you are trying to build some kind of offline mode, all your frontend should know about the backend is the response schema. You could feed an OpenAPI spec to something like https://openapi-generator.tech/ and generate a Dart client. Then, whenever some endpoint changes you will have to regenerate the client. Bonus points for doing API versioning.
-
WorkOS
The modern identity platform for B2B SaaS. The APIs are flexible and easy-to-use, supporting authentication, user identity, and complex enterprise features like SSO and SCIM provisioning.