Commit a01256f6 authored by 刘基明's avatar 刘基明

swagger注释

parent 4bbf71f0
...@@ -18,8 +18,8 @@ public class MainTextQo { ...@@ -18,8 +18,8 @@ public class MainTextQo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id") @ApiModelProperty(value = "主题id")
private String id; private String themeId;
@ApiModelProperty(value = "标题") @ApiModelProperty(value = "标题")
private String title; private String title;
......
...@@ -12,10 +12,8 @@ public class ThemeQo { ...@@ -12,10 +12,8 @@ public class ThemeQo {
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
@ApiModelProperty(value = "id")
private Integer id;
@ApiModelProperty(value = "UUID") @ApiModelProperty(value = "主题ID")
private String themeId; private String themeId;
@ApiModelProperty(value = "标题") @ApiModelProperty(value = "标题")
......
...@@ -8,8 +8,8 @@ import lombok.Data; ...@@ -8,8 +8,8 @@ import lombok.Data;
@ApiModel("话题详情对象") @ApiModel("话题详情对象")
public class TopicDetailQo { public class TopicDetailQo {
@ApiModelProperty(value = "id") @ApiModelProperty(value = "话题ID")
private String id; private String topicId;
@ApiModelProperty(value = "话题名称") @ApiModelProperty(value = "话题名称")
private String topicTitle; private String topicTitle;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment