Skip to content

Commit

Permalink
perf($Swagger): upgrade Knife4j to 2.0.2
Browse files Browse the repository at this point in the history
  • Loading branch information
johnnymillergh committed Mar 8, 2020
1 parent 151e16e commit 2f1f63a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public RouterFunction<ServerResponse> home() {
public RouterFunction<ServerResponse> doc() {
return route(GET("/doc"), request -> {
log.info("Redirect to Bootstrap Swagger API documentation.");
return ServerResponse.temporaryRedirect(URI.create("/doc.html?cache=1&lang=en")).build();
return ServerResponse.temporaryRedirect(URI.create("/doc.html")).build();
});
}

Expand Down
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
<spring-cloud.version>Hoxton.SR1</spring-cloud.version>
<spring-content.version>1.0.0.M5</spring-content.version>
<spring-boot-admin.version>2.2.2</spring-boot-admin.version>
<knife4j.version>2.0.1</knife4j.version>
<knife4j.version>2.0.2</knife4j.version>
</properties>
<parent>
<groupId>org.springframework.boot</groupId>
Expand Down

0 comments on commit 2f1f63a

Please sign in to comment.