-
Notifications
You must be signed in to change notification settings - Fork 0
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
Add API versioning #107
Add API versioning #107
Conversation
PR Review
|
PR Code Suggestions
✨ Improve tool usage guide:Overview:
See the improve usage page for a comprehensive guide on using this tool. |
CI Failure Feedback(Checks updated until commit 8eb2e4a)
✨ CI feedback usage guide:The CI feedback tool (
In addition to being automatically triggered, the tool can also be invoked manually by commenting on a PR:
where Configuration options
See more information about the |
"Deprecated. Please use the Project Settings to configure prebuilds.yaml-schema: Gitpod Configuration"
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It might be beneficial to plan for future versions now by allowing more versions in
ALLOWED_VERSIONS
, such as['v1', 'v2']
, to make future transitions smoother. [medium]
We'll add a new version to list when it becomes available. Otherwise we'll need to handle requests to unsupported versions manually.
Signed-off-by: Delano <1206+delano@users.noreply.github.com>
Signed-off-by: Delano <1206+delano@users.noreply.github.com>
This pull request adds API versioning to the project. The
DEFAULT_VERSIONING_CLASS
setting is set torest_framework.versioning.URLPathVersioning
, and the allowed versions arev1
. TheVERSION_PARAM
is set toversion
.