-
-
Notifications
You must be signed in to change notification settings - Fork 9.7k
[HttpFoundation] Add ProblemDetailsJsonResponse
for HTTP APIs
#61208
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
base: 7.4
Are you sure you want to change the base?
[HttpFoundation] Add ProblemDetailsJsonResponse
for HTTP APIs
#61208
Conversation
Hey! I see that this is your first PR. That is great! Welcome! Symfony has a contribution guide which I suggest you to read. In short:
Review the GitHub status checks of your pull request and try to solve the reported issues. If some tests are failing, try to see if they are failing because of this change. When two Symfony core team members approve this change, it will be merged and you will become an official Symfony contributor! I am going to sit back now and wait for the reviews. Cheers! Carsonbot |
2bbb577
to
7cecc40
Compare
src/Symfony/Component/HttpFoundation/ProblemDetailJsonResponse.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/HttpFoundation/ProblemDetailJsonResponse.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/HttpFoundation/ProblemDetailJsonResponse.php
Outdated
Show resolved
Hide resolved
Thank you very much @smnandre |
src/Symfony/Component/HttpFoundation/Exception/ProblemDetailJsonResponseException.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/HttpFoundation/ProblemDetailJsonResponse.php
Outdated
Show resolved
Hide resolved
Thank you @OskarStark |
Problem Details for HTTP APIs
ProblemDetailJsonResponse
for HTTP APIs
ProblemDetailJsonResponse
for HTTP APIsProblemDetailsJsonResponse
for HTTP APIs
src/Symfony/Component/HttpFoundation/ProblemDetailJsonResponse.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/HttpFoundation/Exception/ProblemDetailJsonResponseException.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/HttpFoundation/ProblemDetailJsonResponse.php
Outdated
Show resolved
Hide resolved
src/Symfony/Component/HttpFoundation/Tests/ProblemDetailJsonResponseTest.php
Outdated
Show resolved
Hide resolved
This feature adds more detail to the HTTP response errors as specified by RFC 7807 and completed by RFC 9457
….php Co-authored-by: Simon André <smn.andre@gmail.com>
….php Co-authored-by: Simon André <smn.andre@gmail.com>
…onResponseException.php Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
….php Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
Co-authored-by: Oskar Stark <oskarstark@googlemail.com>
8befed4
to
a51dabd
Compare
This PR introduces the
ProblemDetailJsonResponse
which is an implementation of RFC 9457 to describe the specifics of a problem encountered: