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 55ece67aa49..6eb4166a55c 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)