weinihaom commented on issue #3354:
URL: 
https://github.com/apache/servicecomb-java-chassis/issues/3354#issuecomment-1291426272

   > 我通过POSTMan调用是在body中输入一个null,会出现这种情况,可以把用户的定义也贴一下吗
   
       public class User implements Serializable {
           private static final long serialVersionUID = 1L;
           @Valid
           @NotNull
           private String name;
   
           @Valid
           @NotNull
           private Integer age;
   
           public String getName() {
               return name;
           }
   
           public void setName(String name) {
               this.name = name;
           }
   
           public Integer getAge() {
               return age;
           }
   
           public void setAge(Integer age) {
               this.age = age;
           }
       }


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to