Skip to content

Conversation

rbygrave
Copy link
Contributor

This is initially using JSON Array content rather than application/x-json-stream

This is initially using JSON Array content rather than application/x-json-stream
@rbygrave rbygrave requested a review from SentryMan July 15, 2025 06:54
@rbygrave rbygrave self-assigned this Jul 15, 2025
case "java.util.stream.Stream":
writeType(type.paramRaw(), writer);
writer.append(".stream()");
writer.append(".streamAsLines()");
Copy link
Collaborator

Choose a reason for hiding this comment

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

I would also check if content type is json stream, since json streaming isn't the first thing that comes to mind

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ah actually that might not be quite so easy. This is in the generated constructor and not per method/endpoint with a produces mime type. Hmm.

So currently it's more like, using JsonB + response type is a Stream -> "streaming json content".

@rbygrave rbygrave merged commit 61be57e into master Jul 15, 2025
6 checks passed
@rbygrave rbygrave deleted the feature/support-jsonb-stream branch July 15, 2025 10:34
@SentryMan SentryMan added this to the 3.4 milestone Jul 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants