
swagger
zhuwei_clark
还行吧
展开
-
Swagger如何屏蔽某些接口显示
首先说下为什么要屏蔽,因为某些接口是针对内部服务调用的,不需要进行对接。显示出来的话:1、容易混淆2、容易暴露相关接口内容其实屏蔽的话比较简单,主要是注解:@ApiIgnore @RequestMapping("/wx/back") @ApiIgnore public String wxBack(HttpServletRequest request){ return payService.back(ParamUtil.getXmlString(r原创 2020-08-26 17:00:27 · 8535 阅读 · 0 评论 -
The following method did not exist:org.springframework.plugin.core.PluginRegistry.getPluginOrDefault
上一篇说的是如何配置:https://blog.csdn.net/zhuwei_clark/article/details/104359187但是在配置好之后启动总是报错,报错内容如下:Error starting ApplicationContext. To display the conditions report re-run your application with 'debu...原创 2020-02-17 15:46:06 · 10461 阅读 · 4 评论 -
Swagger2集成Spring boot 2.1.12 基于WebFlux
Swagger的版本要换成3.0.0-SNAPSHOTspring boot的版本:2.1.12.RELEASE因为Swagger的3.0版本还没有正式发布,所以增加maven的下载仓库: <repositories> <repository> <id>jcenter-snapshots&l...原创 2020-02-17 15:40:07 · 2307 阅读 · 0 评论