Skip to content

Commit

Permalink
Merge pull request #244 from rosette-api/RLPNC-7545-master-validate-r…
Browse files Browse the repository at this point in the history
…ecord-fields

RLPNC-7496: Removed unneeded validation/enforcement, added getter
  • Loading branch information
iredpath authored May 22, 2024
2 parents 8d3954e + 7df75dc commit 83a8ad1
Showing 1 changed file with 1 addition and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -22,14 +22,13 @@
import lombok.Value;
import lombok.Builder;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.Map;

@Value
@JsonInclude(JsonInclude.Include.NON_NULL)
public class RecordSimilarityRequest extends Request {
@NotEmpty @Valid Map<String, RecordSimilarityFieldInfo> fields;
@Valid Map<String, RecordSimilarityFieldInfo> fields;
@Valid RecordSimilarityProperties properties;
@NotNull @Valid RecordSimilarityRecords records;

Expand Down

0 comments on commit 83a8ad1

Please sign in to comment.