Skip to content

fix(HTTP): Adjust JSONResponse data type#50035

Merged
nickvergessen merged 1 commit intomasterfrom
fix/http/jsonresponse-data-type
Jan 7, 2025
Merged

fix(HTTP): Adjust JSONResponse data type#50035
nickvergessen merged 1 commit intomasterfrom
fix/http/jsonresponse-data-type

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.

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