1.normalize swagger response, refer to this wiki: https://www.bmabk.com/index.php/post/135277.html
parent
e8b51b82f9
commit
800381c290
@ -1,10 +1,9 @@
|
|||||||
package com.luoo.user.vo;
|
package com.luoo.user.dto;
|
||||||
|
|
||||||
import io.swagger.annotations.ApiModel;
|
import io.swagger.annotations.ApiModel;
|
||||||
import io.swagger.annotations.ApiModelProperty;
|
import io.swagger.annotations.ApiModelProperty;
|
||||||
import lombok.Data;
|
import lombok.Data;
|
||||||
@Data
|
@Data
|
||||||
@ApiModel(value = "用户")
|
|
||||||
public class UserVO {
|
public class UserVO {
|
||||||
@ApiModelProperty(value = "ID")
|
@ApiModelProperty(value = "ID")
|
||||||
private String id;//ID
|
private String id;//ID
|
Loading…
Reference in new issue