Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecate v1 routes in favor of v2 #23

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Conversation

petermuller
Copy link
Contributor

As we encourage users to use the v2 routes, we don't want to entirely remove v1 just yet, but we do want to discourage its usage. From the OpenAPI docs that are generated, I can now see that the /v1/ routes are deprecated, and only the v2 routes and health check route are still supported. Screenshot of the docs page from FastAPI attached:
Screenshot 2024-06-06 at 6 24 07 PM

I validated that the v1 routes still work alongside the v2 routes. This is mostly a cosmetic change.

By submitting this pull request, I confirm that you can use, modify, copy, and redistribute this contribution, under the terms of your choice.

@petermuller petermuller requested a review from estohlmann June 7, 2024 01:27
@petermuller petermuller self-assigned this Jun 7, 2024
@petermuller petermuller merged commit 71446ff into main Jun 7, 2024
2 checks passed
@petermuller petermuller deleted the feature/deprecate-v1 branch June 7, 2024 21:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants