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

fix(HTTP): Adjust JSONResponse data type #50035

Merged
merged 1 commit into from
Jan 7, 2025

Conversation

provokateurin
Copy link
Member

Summary

Just saw an app return a literal string value in a JSONResponse which is totally valid.
I adjusted the types to match https://json-schema.org/understanding-json-schema/reference/type, as object also wasn't correct (and neither is mixed).

Checklist

Signed-off-by: provokateurin <kate@provokateurin.de>
@provokateurin
Copy link
Member Author

/backport to stable30

@provokateurin
Copy link
Member Author

/backport to stable29

@provokateurin
Copy link
Member Author

/backport to stable28

@provokateurin
Copy link
Member Author

Backport to stable28 is only for OpenAPI, even though it is already EOL.

@nickvergessen nickvergessen merged commit 8953f44 into master Jan 7, 2025
188 checks passed
@nickvergessen nickvergessen deleted the fix/http/jsonresponse-data-type branch January 7, 2025 05:39
@skjnldsv skjnldsv mentioned this pull request Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants