Skip to content

Commit

Permalink
chore(dependencies): Autobump orcaVersion (#1018)
Browse files Browse the repository at this point in the history
* chore(dependencies): Autobump orcaVersion

* fix(test): Update swagger-ui endpoint with springfox 3.0.0 upgrade

With upgrade of springfox from 2.9.2 to 3.0.0, a breaking [change](http://springfox.github.io/springfox/docs/current/#changes-in-swagger-ui) has been introduced in the form of new endpoint for swagger-ui (/swagger-ui/index.html). This change caused the `SwaggerTest.swaggerUiIsPresent` test to fail. In order to fix this test, updating the swagger-ui endpoint as `/swagger-ui/index.html`.

---------

Co-authored-by: root <root@9d081cf5382b>
Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>
Co-authored-by: j-sandy <30489233+j-sandy@users.noreply.github.com>
  • Loading branch information
4 people authored Feb 5, 2024
1 parent 876c2c2 commit abcd11c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion gradle.properties
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
orcaVersion=8.48.0
orcaVersion=8.49.0
org.gradle.parallel=true
spinnakerGradleVersion=8.32.1
targetJava11=true
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ public class SwaggerTest extends BaseIntegrationTest {
public void swaggerUiIsPresent() {
RestAssured.given()
.port(serverPort)
.get("/swagger-ui.html")
.get("/swagger-ui/index.html")
.prettyPeek()
.then()
.assertThat()
Expand Down

0 comments on commit abcd11c

Please sign in to comment.