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 for Accept header vendor types - REST API versioning #62

Closed
jeevatkm opened this issue Jun 6, 2017 · 1 comment
Closed
Assignees
Labels
enhancement lib-ahttp HTTP - extension to standard one

Comments

@jeevatkm
Copy link
Member

jeevatkm commented Jun 6, 2017

Goal is to add support for Accept header with media vendor types. So bring one more REST API versioning strategy into aah web framework.

E.g.:

  • application/vnd.api+json
  • application/vnd.mycompany.myapp.customer-v1+json
  • application/vnd.mycompany.myapp.customer-v2.2+json

Access vendor and version info by-

  • ctx.Req.AcceptContentType.Version()
  • ctx.Req.AcceptContentType.Vendor()
@jeevatkm jeevatkm self-assigned this Jun 6, 2017
@jeevatkm jeevatkm added enhancement lib-ahttp HTTP - extension to standard one labels Jun 6, 2017
@jeevatkm jeevatkm added this to the v0.6 Milestone milestone Jun 6, 2017
jeevatkm added a commit to go-aah/ahttp that referenced this issue Jun 6, 2017
@jeevatkm
Copy link
Member Author

jeevatkm commented Jun 6, 2017

It's done, yet to be released.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement lib-ahttp HTTP - extension to standard one
Projects
None yet
Development

No branches or pull requests

1 participant