We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2ce08b8 commit b3a7dffCopy full SHA for b3a7dff
README.md
@@ -293,7 +293,7 @@ public class WidgetController$Route implements HttpService {
293
int id = asInt(pathParams.first("id").get());
294
var result = controller.getById(id);
295
res.headers().contentType(io.helidon.common.http.HttpMediaType.APPLICATION_JSON);
296
- widgetJsonType.toJson(result, res.outputStream());
+ widgetJsonType.toJson(result, JsonOutput.of(res));
297
}
298
299
private void _getAll(ServerRequest req, ServerResponse res) {
0 commit comments