From 2cd4615992ceae8448e7435fb7f3af97cd4f5375 Mon Sep 17 00:00:00 2001 From: gongdewei Date: Tue, 25 May 2021 12:10:58 +0800 Subject: [PATCH] ignore null properties in result --- .../src/main/resources/application.properties | 2 ++ 1 file changed, 2 insertions(+) diff --git a/channel/channel-server-app/src/main/resources/application.properties b/channel/channel-server-app/src/main/resources/application.properties index bd49b9086..fd855a3c7 100755 --- a/channel/channel-server-app/src/main/resources/application.properties +++ b/channel/channel-server-app/src/main/resources/application.properties @@ -29,6 +29,8 @@ management.endpoints.web.exposure.include=* # default user name spring.security.user.name=arthas +# ignore null property +spring.jackson.default-property-inclusion = NON_NULL #