swagger-ui注解常用的说明 

  1. 类注解 :@Api(description = "发票抬头相关")
  2. 接口(方法)注解:@ApiOperation( "新增发票抬头")
  3. 方法属性:@ApiParam(value ="发票id"  ,name = “id",required ="true" ) 

     swagger-ui注解常用的说明 

@ApiParam()和原有的 spring-web 注解不冲突 例如

swagger-ui注解常用的说明可以一同使用

 

相关文章:

  • 2022-01-04
  • 2021-06-29
  • 2021-11-17
  • 2022-01-19
  • 2022-01-22
  • 2021-06-16
  • 2021-11-22
  • 2021-11-28
猜你喜欢
  • 2021-07-02
  • 2021-11-20
  • 2021-05-15
  • 2021-12-16
  • 2021-11-17
  • 2021-09-02
相关资源
相似解决方案