From 881e621aeed341dfdde45f48caa5199d00137fff Mon Sep 17 00:00:00 2001 From: Jan Bernitt Date: Tue, 3 Dec 2024 14:05:44 +0100 Subject: [PATCH] chore: OpenAPI - exclude user property from BaseIdentifiableObject --- .../main/java/org/hisp/dhis/common/BaseIdentifiableObject.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java b/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java index 55ece67aa490..6eb4166a55c0 100644 --- a/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java +++ b/dhis-2/dhis-api/src/main/java/org/hisp/dhis/common/BaseIdentifiableObject.java @@ -360,7 +360,7 @@ public User getCreatedBy() { } @Override - @OpenApi.Property(UserPropertyTransformer.UserDto.class) + @OpenApi.Ignore @JsonProperty @JsonSerialize(using = UserPropertyTransformer.JacksonSerialize.class) @JsonDeserialize(using = UserPropertyTransformer.JacksonDeserialize.class)