Skip to content

Commit

Permalink
doc(swagger): Update swagger-ui endpoint with springfox 3.0.0 upgrade (
Browse files Browse the repository at this point in the history
…#1021)

With upgrade of springfox from 2.9.2 to 3.0.0, swagger-ui endpoint changed to [/swagger-ui/index.html](http://springfox.github.io/springfox/docs/current/#changes-in-swagger-ui).
  • Loading branch information
j-sandy authored Feb 6, 2024
1 parent abcd11c commit c933f7f
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -40,4 +40,4 @@ cp kayenta-web/config/kayenta.yml ~/.spinnaker/kayenta.yml
docker-compose up
```

You should then be able to access your local kayenta instance at http://localhost:8090/swagger-ui.html.
You should then be able to access your local kayenta instance at http://localhost:8090/swagger-ui/index.html.
2 changes: 1 addition & 1 deletion docs/faq.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ See [Kayenta Standalone](./kayenta-standalone.md) for more information.

## Where are the API docs?

When Kayenta is running, it serves its API docs at [http://localhost:8090/swagger-ui.html](http://localhost:8090/swagger-ui.html).
When Kayenta is running, it serves its API docs at [http://localhost:8090/swagger-ui/index.html](http://localhost:8090/swagger-ui/index.html).

You can control what endpoints show up on that page via the [swagger config](../kayenta-web/config/kayenta.yml) section of the main config.
<!-- TODO explain how this is controlled in the yaml. -->
Expand Down

0 comments on commit c933f7f

Please sign in to comment.