forked from Archives/Athou_commafeed
fix for "No validator could be found for constraint 'javax.validation.constraints.NotEmpty' validating type 'java.lang.Long'."
This commit is contained in:
@@ -2,7 +2,6 @@ package com.commafeed.frontend.model.request;
|
|||||||
|
|
||||||
import java.io.Serializable;
|
import java.io.Serializable;
|
||||||
|
|
||||||
import javax.validation.constraints.NotEmpty;
|
|
||||||
import javax.validation.constraints.Size;
|
import javax.validation.constraints.Size;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
@@ -15,7 +14,6 @@ import lombok.Data;
|
|||||||
public class CategoryModificationRequest implements Serializable {
|
public class CategoryModificationRequest implements Serializable {
|
||||||
|
|
||||||
@ApiModelProperty(value = "id", required = true)
|
@ApiModelProperty(value = "id", required = true)
|
||||||
@NotEmpty
|
|
||||||
private Long id;
|
private Long id;
|
||||||
|
|
||||||
@ApiModelProperty(value = "new name, null if not changed")
|
@ApiModelProperty(value = "new name, null if not changed")
|
||||||
|
|||||||
Reference in New Issue
Block a user