Skip to content
This repository has been archived by the owner on Nov 5, 2021. It is now read-only.

Accept Header format #24

Open
a14m opened this issue May 11, 2015 · 1 comment
Open

Accept Header format #24

a14m opened this issue May 11, 2015 · 1 comment

Comments

@a14m
Copy link

a14m commented May 11, 2015

currently you are only supporting the following format application/vnd.myvendor+json;version=1 for the Accept header...

Is it possible to also support the following format application/vnd.myvendor.v1+json ? similar to github accept header which IMHO think cleaner format

@davidcelis
Copy link
Member

Not currently; in the meantime, you could override the private methods in this class to change the format: https://github.com/EDMC/api-versions/blob/master/lib/api-versions/version_check.rb

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants