https://github.com/zmievsa/cadwyn
Production-ready community-driven modern Stripe-like API versioning in FastAPI
https://github.com/zmievsa/cadwyn
api api-versioning fastapi hints json-schema pydantic python python310 python311 python312 stripe versioning
Last synced: 7 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 (almost 2 years ago)
- Default Branch: main
- Last Pushed: 2025-04-11T19:26:50.000Z (10 days ago)
- Last Synced: 2025-04-14T11:09:51.736Z (7 days ago)
- Topics: api, api-versioning, fastapi, hints, json-schema, pydantic, python, python310, python311, python312, stripe, versioning
- Language: Python
- Homepage: https://docs.cadwyn.dev/
- Size: 3.78 MB
- Stars: 241
- Watchers: 2
- Forks: 38
- Open Issues: 38
-
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 maintain the implementation just for your newest API version and get all the older versions generated automatically. You keep API backward compatibility encapsulated in small and independent "version change" modules while your business logic stays simple and knows nothing about versioning.
This [approach](https://docs.cadwyn.dev/theory/how_we_got_here/#ii-migration-based-response-building) may be useful if you want to:
1. Support many API versions for a long time
2. Have features and bugfixes automatically backported 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!
[](https://docs.monite.com/)