Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Two bug fixes related to API Platform Admin #132

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

Merged
alanpoulain merged 4 commits into api-platform:main from slim:main
Nov 10, 2023
Merged

Conversation

@slim
Copy link
Contributor

@slim slim commented Nov 8, 2023

Q A
Branch? main
Tickets
License MIT
Doc PR
  1. was not handling Content-Type: application/problem+json which is necessary for API-Platform
  2. getDocumentationFromHeaders() was not extracting URL from Link, when multiple alternative urls were provided

slim added 2 commits November 2, 2023 10:08
This content type is defined in RFC7807 and is used for errors in
Symfony and API-Platform
It was not working when there were multiple urls in the Link: header.
There was a defect in the regex
Copy link
Member

@dunglas dunglas left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Awesome, thanks! Could you please add tests too? 😁

slim reacted with thumbs up emoji
@alanpoulain alanpoulain merged commit 11aaafd into api-platform:main Nov 10, 2023
Copy link
Member

Nicely done @slim.

slim reacted with hooray emoji

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

@dunglas dunglas dunglas approved these changes

@alanpoulain alanpoulain alanpoulain approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

AltStyle によって変換されたページ (->オリジナル) /