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

Add support to specify different approaches to select API version #18

Open
osantana opened this issue Oct 19, 2021 · 0 comments
Open

Add support to specify different approaches to select API version #18

osantana opened this issue Oct 19, 2021 · 0 comments
Labels
enhancement rfc Request for comments before implementation

Comments

@osantana
Copy link
Contributor

How to put in the specification instructions about how to choose the API version to use? Eg:

  • URL path like /v1, /v2
  • URL query string like ?api=v1, ?api=v2
  • Custom header like X-API-Version: 1, X-API-Version: 2
  • Content-Type/Accept vendor mime-type like Content-Type: application/vnd.myapi.v2+json
  • others?
@osantana osantana added enhancement rfc Request for comments before implementation labels Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement rfc Request for comments before implementation
Projects
None yet
Development

No branches or pull requests

1 participant