|
|
|
@ -173,15 +173,15 @@ with links to all the endpoints. The "`discovery page`" is actually an endpoint
|
|
|
|
|
so it can be disabled along with the rest of the hypermedia by setting
|
|
|
|
|
`endpoints.links.enabled=false`. If it is not explicitly disabled the links
|
|
|
|
|
endpoint renders a JSON object with a link for each other endpoint, and the default
|
|
|
|
|
path is the same as the `management.content-path` (so "`/`" by default).
|
|
|
|
|
path is the same as the `management.context-path` (so "`/`" by default).
|
|
|
|
|
|
|
|
|
|
NOTE: if there is a static home page ("`index.html`") in your application and the links
|
|
|
|
|
NOTE: If there is a static home page ("`index.html`") in your application and the links
|
|
|
|
|
endpoint is registered with its default path ("`/`") then content negotiation will kick in
|
|
|
|
|
to determine which content is shown to a client that requests the home page (the
|
|
|
|
|
links will show only if the client accepts `application/json`).
|
|
|
|
|
|
|
|
|
|
If the https://github.com/mikekelly/hal-browser[HAL Browser] is on the classpath
|
|
|
|
|
via its webjar (`org.webjars:hal-browser`), or via the `spring-data-hal-browser` then
|
|
|
|
|
via its webjar (`org.webjars:hal-browser`), or via the `spring-data-rest-hal-browser` then
|
|
|
|
|
the default home page for HTML clients will be the HAL Browser. This is also exposed via
|
|
|
|
|
an endpoint ("`hal`") so it can be disabled and have its path explicitly configured like
|
|
|
|
|
the other endpoints.
|
|
|
|
|