dgs-framework icon indicating copy to clipboard operation
dgs-framework copied to clipboard

Return specification Map from DgsRestController

Open kilink opened this issue 1 year ago • 0 comments

Instead of directly serializing the response to a String or bytes in DgsRestController, return the response as a Map as built by ExecutionResult.toSpecification. Doing this allows the Jackson HttpMessageConverter to serialize the result directly to the response's OutputStream.

kilink avatar Sep 14 '22 23:09 kilink