We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 49863bd commit 51541aeCopy full SHA for 51541ae
backend/swagger-usage-guideline.md
@@ -34,9 +34,9 @@
34
35
## 请求参数说明
36
37
-- 参数若为类对象:
+- 参数若为类对象:
38
39
- - 类名上需加如下注释,用于说明此对象参数的名称:
+ - 类名上需加如下注释,用于说明此对象参数的名称:
40
41
```java
42
@ApiModel(value = "登陆信息")
@@ -45,14 +45,14 @@
45
- 类中字段需在 @ApiModelProperty 注解中加如下说明:
46
- value:表示字段名
47
- example:表示该字段的示例值,在测试时很有帮助
48
- - required: 若为必携带的参数,则为true
+ - required: 若为必携带的参数,则为true
49
50
51
@ApiModelProperty(value = "用户名,可以为手机/邮箱", example = "[email protected]", required = true)
52
```
53
54
- 若为普通参数:
55
- - 在方法的请求参数前,与 @RequestParam并列
+ - 在方法的请求参数前,与 @RequestParam并列
56
57
58
@ApiParam(value = “用户ID”, example = "1100020")
0 commit comments