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

Fixes Accept header to allow legacy and laminas-api-tools #54

Merged
merged 2 commits into from
Apr 23, 2020
Merged

Fixes Accept header to allow legacy and laminas-api-tools #54

merged 2 commits into from
Apr 23, 2020

Conversation

michalbundyra
Copy link
Member

Q A
Bugfix yes/no

Description

On migration accept/content-type header has been changed to invalid value. Now we accepts both:

  • new: application/vnd.laminas-api-tools.v1.config+json
  • legacy: application/vnd.zfcampus.v1.config+json

@michalbundyra michalbundyra added the Bug Something isn't working label Apr 17, 2020
Accepts:
- application/vnd.laminas-api-tools.v1.config+json
and legacy:
- application/vnd.zfcampus.v1.config+json

Signed-off-by: Michał Bundyra <[email protected]>
@michalbundyra
Copy link
Member Author

@weierophinney We might want apply this patch to all tags. This is migration issue. Not sure what we should do with application/vnd.laminascampus.v1.config+json. I think we might want to keep it as well, as some people might already migrate and use that invalid value.

Thoughts?

@froschdesign
Copy link
Member

@michalbundyra

I think we might want to keep it as well, as some people might already migrate and use that invalid value.

I had the same thought. I'm for keeping the wrong name and open an issue report to remove it with the next major version.

@weierophinney weierophinney merged commit 8f8f4f2 into laminas-api-tools:master Apr 23, 2020
weierophinney added a commit that referenced this pull request Apr 23, 2020
Signed-off-by: Matthew Weier O'Phinney <[email protected]>
weierophinney added a commit that referenced this pull request Apr 23, 2020
Forward port #54

Conflicts:
	CHANGELOG.md
@michalbundyra michalbundyra deleted the hotfix/laminas-migration branch April 23, 2020 19:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants