swagger-ui注解常用的说明

  类注解 :@Api(description = "发票抬头相关") 接口(方法)注解:@ApiOperation( "新增发票抬头") 方法属性:@ApiParam(value ="发票id"  ,name = “id",required ="true" )         @ApiParam()和原有的 spring-web 注解不冲突 例如 可以一同使用
相关文章
相关标签/搜索