- Notifications
You must be signed in to change notification settings - Fork 1.5k
Closed
Description
The implementation of apiInfo fluent Interface in springfox.documentation.spring.web.plugins.Docket is not consistent to other methods like groupName or host - the old value will not be kept due to a missing this qualifier in 2nd parameter:
springfox/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/Docket.java
Line 127 in c651680
| this.apiInfo = defaultIfAbsent(apiInfo, apiInfo); |
see:
springfox/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/Docket.java
Line 163 in c651680
| this.groupName = defaultIfAbsent(groupName, this.groupName); |
springfox/springfox-spring-web/src/main/java/springfox/documentation/spring/web/plugins/Docket.java
Line 238 in c651680
| this.host = defaultIfAbsent(host, this.host); |