You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shenyu.apache.org by li...@apache.org on 2022/12/15 14:54:27 UTC

[shenyu] branch master updated: [ISSUE #4049] remove validation of field `enabled` (#4269)

This is an automated email from the ASF dual-hosted git repository.

likeguo pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/shenyu.git


The following commit(s) were added to refs/heads/master by this push:
     new 90882afb6 [ISSUE #4049] remove validation of field `enabled` (#4269)
90882afb6 is described below

commit 90882afb607298e0455d55f9b4f926c2bf7e2c06
Author: RayayChung <23...@qq.com>
AuthorDate: Thu Dec 15 22:54:17 2022 +0800

    [ISSUE #4049] remove validation of field `enabled` (#4269)
    
    * [ISSUE #4049] remove unnecessary validation of field `enabled`
    
    * [ISSUE #4049] remove unused import
    
    Co-authored-by: ray <zh...@ingbaobei.com>
    Co-authored-by: xiaoyu <xi...@apache.org>
---
 .../src/main/java/org/apache/shenyu/admin/model/dto/AuthPathDTO.java    | 2 --
 1 file changed, 2 deletions(-)

diff --git a/shenyu-admin/src/main/java/org/apache/shenyu/admin/model/dto/AuthPathDTO.java b/shenyu-admin/src/main/java/org/apache/shenyu/admin/model/dto/AuthPathDTO.java
index 21002bf8d..b68bf0d14 100644
--- a/shenyu-admin/src/main/java/org/apache/shenyu/admin/model/dto/AuthPathDTO.java
+++ b/shenyu-admin/src/main/java/org/apache/shenyu/admin/model/dto/AuthPathDTO.java
@@ -18,7 +18,6 @@
 package org.apache.shenyu.admin.model.dto;
 
 import javax.validation.constraints.NotBlank;
-import javax.validation.constraints.NotNull;
 import java.io.Serializable;
 import java.util.Objects;
 
@@ -34,7 +33,6 @@ public class AuthPathDTO implements Serializable {
     @NotBlank
     private String path;
 
-    @NotNull
     private Boolean enabled;
 
     /**