Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zmievsa/cadwyn
Production-ready community-driven modern Stripe-like API versioning in FastAPI
https://github.com/zmievsa/cadwyn
api api-versioning code-generation fastapi hints json-schema pydantic python python310 python311 python312 stripe versioning
Last synced: 26 days ago
JSON representation
Production-ready community-driven modern Stripe-like API versioning in FastAPI
- Host: GitHub
- URL: https://github.com/zmievsa/cadwyn
- Owner: zmievsa
- License: mit
- Created: 2023-06-12T19:13:58.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-07-03T05:10:49.000Z (4 months ago)
- Last Synced: 2024-07-05T15:48:47.685Z (4 months ago)
- Topics: api, api-versioning, code-generation, fastapi, hints, json-schema, pydantic, python, python310, python311, python312, stripe, versioning
- Language: Python
- Homepage: https://docs.cadwyn.dev/
- Size: 2.57 MB
- Stars: 184
- Watchers: 3
- Forks: 24
- Open Issues: 47
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Cadwyn
Production-ready community-driven modern [Stripe-like](https://stripe.com/blog/api-versioning) API versioning in FastAPI
---
## Who is this for?
Cadwyn allows you to support a single version of your code while auto-generating the schemas and routes for older versions. You keep API versioning encapsulated in small and independent "version change" modules while your business logic stays simple and knows nothing about versioning.
Its [approach](https://docs.cadwyn.dev/theory/how_we_got_here/#ii-migration-based-response-building) will be useful if you want to:
1. Support many API versions for a long time
2. Effortlessly backport features and bugfixes to older API versionsWhether you are a newbie in API versioning, a pro looking for a sophisticated tool, an experimenter looking to build a similar framework, or even someone who just wants to learn about all approaches to API versioning -- Cadwyn has the functionality, theory, and documentation to cover all the mentioned use cases.
## Get started
The [documentation](https://docs.cadwyn.dev) has everything you need to succeed.
## Sponsors
These are our gorgeous sponsors. They are using Cadwyn and are sponsoring it through various means. Contact [me](https://github.com/zmievsa) if you would like to become one too!
[![Monite](https://docs.cadwyn.dev/img/sponsor_logos/monite.png)](https://docs.monite.com/)