Skip to content

Commit

Permalink
Merge pull request #11 from protegeproject/FIX-single-choice-descriptor
Browse files Browse the repository at this point in the history
fixed serialization issue
  • Loading branch information
alexsilaghi authored Jul 30, 2024
2 parents 0b77440 + 3868fea commit 348946c
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
</parent>
<groupId>edu.stanford.protege</groupId>
<artifactId>webprotege-forms</artifactId>
<version>1.1.7</version>
<version>1.1.8</version>
<name>webprotege-forms</name>
<description>Data structures and request/responses for forms</description>
<properties>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -23,14 +23,16 @@ public static SingleChoiceControlDescriptorDto get(@JsonProperty(PropertyNames.W
}

@Nonnull
@JsonProperty(PropertyNames.CHOICES)
public abstract ImmutableList<ChoiceDescriptorDto> getAvailableChoices();


@JsonProperty("descriptor")
@JsonProperty(PropertyNames.CHOICES_SOURCE)
@Nonnull
public abstract ChoiceListSourceDescriptor getChoiceListSourceDescriptor();

@Nonnull
@JsonProperty(PropertyNames.WIDGET_TYPE)
public abstract SingleChoiceControlType getWidgetType();

@Override
Expand Down

0 comments on commit 348946c

Please sign in to comment.