open-payments
open-payments copied to clipboard
Add API versioning
For the OpenAPI schemas, we need to add versioning just like we had it on readme.
We want to add a dropdown to select the API version. It can be parsed from the yaml file. Additionally, we need to always show what's on main as the "version in development" (somebody find a better term for that).
Threads to follow:
- https://github.com/withastro/starlight/discussions/957
- https://discord.com/channels/830184174198718474/1117052663520034866
We decided to only have 2 versions. A stable one and a latest one which we can make changes to.
Considering the age of this issue, we will need to discuss whether this is still something we want to do.