@apioperation的作用
时间: 2024-04-25 13:22:49 浏览: 125
@apioperation的作用是用于对API接口进行描述和注释。它可以应用于方法上,用于描述该方法的功能、用法和参数等信息。通过使用@Api和@ApiOperation注解,可以更好地组织和展示API文档,方便开发人员理解和使用接口。\[1\]\[2\]\[3\]
#### 引用[.reference_title]
- *1* *2* [swagger注解之@ApiOperation](https://blog.csdn.net/weixin_48321825/article/details/121510575)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
- *3* [@Api @ApiOperation @ApiModel @ApiModelProperty——Swagger常用注解](https://blog.csdn.net/u011149152/article/details/129856509)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^insert_down1,239^v3^insert_chatgpt"}} ] [.reference_item]
[ .reference_list ]
阅读全文