|
|
@ -636,6 +636,10 @@ your application might already use `/info` for another purpose. You can use the
|
|
|
|
The `application.properties` example above will change the endpoint from `/{id}` to
|
|
|
|
The `application.properties` example above will change the endpoint from `/{id}` to
|
|
|
|
`/manage/{id}` (e.g. `/manage/info`).
|
|
|
|
`/manage/{id}` (e.g. `/manage/info`).
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
NOTE: Unless the management port has been configured to
|
|
|
|
|
|
|
|
<<production-ready-customizing-management-server-port,expose endpoints using a different
|
|
|
|
|
|
|
|
HTTP port>>, `management.context-path` is relative to `server.context-path`.
|
|
|
|
|
|
|
|
|
|
|
|
You can also change the "`id`" of an endpoint (using `endpoints.{name}.id`) which then
|
|
|
|
You can also change the "`id`" of an endpoint (using `endpoints.{name}.id`) which then
|
|
|
|
changes the default resource path for the MVC endpoint. Legal endpoint ids are composed
|
|
|
|
changes the default resource path for the MVC endpoint. Legal endpoint ids are composed
|
|
|
|
only of alphanumeric characters (because they can be exposed in a number of places,
|
|
|
|
only of alphanumeric characters (because they can be exposed in a number of places,
|
|
|
|