Skip to content

Commit

Permalink
Fix the serialization of EntityNameControlDataDtos
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewhorridge committed Jun 16, 2024
1 parent 9acda6b commit d3304ce
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ public abstract class EntityNameControlDataDto implements FormControlDataDto {

@JsonCreator
public static EntityNameControlDataDto get(@JsonProperty("descriptor") @Nonnull EntityNameControlDescriptor descriptor,
@JsonProperty("entityData") @Nonnull OWLEntityData entityData,
@JsonProperty("entity") @Nonnull OWLEntityData entityData,
@JsonProperty("depth") int depth) {
return new AutoValue_EntityNameControlDataDto(depth, descriptor, entityData);
}
Expand All @@ -29,7 +29,7 @@ public static EntityNameControlDataDto get(@JsonProperty("descriptor") @Nonnull
public abstract EntityNameControlDescriptor getDescriptor();

@Nullable
@JsonProperty("term")
@JsonProperty("entity")
protected abstract OWLEntityData getEntityInternal();

@JsonIgnore
Expand Down

0 comments on commit d3304ce

Please sign in to comment.