@ApiModelProperty Maven坐标
时间: 2023-10-02 12:12:42 浏览: 100
@ApiModelProperty是Swagger框架中用于给接口相关实体类的属性添加额外描述信息的注解。它通常与@ApiModel注解一起使用。而@ApiModel注解是用于给接口相关的实体类添加额外描述信息的注解。而要导入Swagger的依赖,可以在Maven配置文件中添加以下依赖坐标:
```xml
<dependency>
<groupId>io.swagger</groupId>
<artifactId>swagger-annotations</artifactId>
<version>1.5.13</version>
</dependency>
```
<span class="em">1</span><span class="em">2</span><span class="em">3</span>
#### 引用[.reference_title]
- *1* *2* *3* [@ApiModel注解与@ApiModelProperty注解](https://blog.csdn.net/weixin_51351637/article/details/129474227)[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^v93^chatsearchT3_1"}}] [.reference_item style="max-width: 100%"]
[ .reference_list ]
阅读全文