Browse Source

Merge pull request #1643 from Technoboy-/dev

remove swagger-annotations in DAO module
pull/2/head
Tboy 5 years ago committed by GitHub
parent
commit
e621d958d1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 6
      dolphinscheduler-dao/pom.xml
  2. 5
      dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/User.java

6
dolphinscheduler-dao/pom.xml

@ -162,12 +162,6 @@
<artifactId>spring-test</artifactId> <artifactId>spring-test</artifactId>
<scope>test</scope> <scope>test</scope>
</dependency> </dependency>
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.5.20</version>
<scope>compile</scope>
</dependency>
<dependency> <dependency>
<groupId>org.yaml</groupId> <groupId>org.yaml</groupId>
<artifactId>snakeyaml</artifactId> <artifactId>snakeyaml</artifactId>

5
dolphinscheduler-dao/src/main/java/org/apache/dolphinscheduler/dao/entity/User.java

@ -22,8 +22,6 @@ import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField; import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId; import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName; import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data; import lombok.Data;
import java.util.Date; import java.util.Date;
@ -33,7 +31,6 @@ import java.util.Date;
*/ */
@Data @Data
@TableName("t_ds_user") @TableName("t_ds_user")
@ApiModel(description = "UserModelDesc")
public class User { public class User {
/** /**
@ -45,13 +42,11 @@ public class User {
/** /**
* user name * user name
*/ */
@ApiModelProperty(name = "userName", notes = "USER_NAME",dataType = "String",required = true)
private String userName; private String userName;
/** /**
* user password * user password
*/ */
@ApiModelProperty(name = "userPassword", notes = "USER_PASSWORD",dataType = "String",required = true)
private String userPassword; private String userPassword;
/** /**

Loading…
Cancel
Save