Skip to content

Commit

Permalink
fix : spring-doc not work, for issue #387
Browse files Browse the repository at this point in the history
  • Loading branch information
wenshao committed Apr 9, 2023
1 parent 5fe552b commit b352f1e
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -126,6 +126,7 @@ protected void writeInternal(Object object, HttpOutputMessage outputMessage) thr
} else if (object instanceof byte[] && JSON.isValid((byte[]) object)) {
byte[] strBytes = (byte[]) object;
contentLength = strBytes.length;
outputMessage.getBody().write(strBytes, 0, strBytes.length);
} else {
contentLength = JSON.writeTo(
outputMessage.getBody(),
Expand Down

0 comments on commit b352f1e

Please sign in to comment.