Added missing non null annotation

This commit is contained in:
2020-07-10 19:18:47 +02:00
parent 8216cb9f00
commit 4db3b13082

View File

@ -41,6 +41,7 @@ public class File extends CommonFields {
@Schema(description = "pure text representation of the file content if possible", nullable = true) @Schema(description = "pure text representation of the file content if possible", nullable = true)
private final String text; private final String text;
@NonNull
@Schema(description = "URL to access the file", required = true) @Schema(description = "URL to access the file", required = true)
private final String accessUrl; private final String accessUrl;