| 注释类型 | 说明 |
|---|---|
| ApiController |
Controller 说明
|
| ApiField |
字段说明
|
| ApiHeader |
PI请求头说明,限制只能用于Controller和方法上
|
| ApiHeaderCancel |
限制只能用于方法上,用来表示该方法请求不需要请求头
|
| ApiHeadParam |
限制只能用于类和方法上,请求头参数说明
|
| ApiMethod |
限制只能用于方法上,接口说明
|
| ApiParam |
放在 @ApiParams中,用于描述 字段
|
| ApiParams |
描述接口请求参数,及校验,建议所有参数使用 bean 包装,建议使用 JSON 交互(请求参数前加 @RequestBody),不支持 Map
|
| ApiResponseHides |
需要隐藏的参数
|
| ApiResponseParam |
只能用在 @ApiResponses 注解中,用于描述 返回值 字段
|
| ApiResponses |
返回值描述
|
Copyright © 2020. All rights reserved.