Skip to content

Commit

Permalink
fix: replace NotEmpty with NotNull for Property #155 (#156)
Browse files Browse the repository at this point in the history
close #155
  • Loading branch information
mgabelle authored Jan 20, 2025
1 parent 0b2b9fe commit e94c48c
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/main/java/io/kestra/plugin/serdes/excel/ExcelToIon.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@
import io.kestra.core.utils.ListUtils;
import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotBlank;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.PositiveOrZero;
import lombok.*;
import lombok.experimental.SuperBuilder;
Expand Down Expand Up @@ -63,7 +64,8 @@ public class ExcelToIon extends Task implements RunnableTask<ExcelToIon.Output>
@Schema(
title = "Source file URI"
)
private Property<@NotBlank String> from;
@NotNull
private Property<String> from;

@Schema(
title = "The sheets title to be included"
Expand Down

0 comments on commit e94c48c

Please sign in to comment.