Update path for persistence health endpoint (#5198)

See https://github.com/openhab/openhab-core/pull/4682#discussion_r2619044396.

Signed-off-by: Florian Hotze <dev@florianhotze.com>
This commit is contained in:
Florian Hotze
2025-12-16 22:50:05 +01:00
committed by GitHub
parent cdfd56484b
commit cbf43fdc9c
@@ -359,7 +359,7 @@ public class PersistenceResource implements RESTResource {
@GET
@RolesAllowed({ Role.ADMIN })
@Produces({ MediaType.APPLICATION_JSON })
@Path("persistencehealth")
@Path("health")
@Operation(operationId = "getPersistenceHealth", summary = "Gets configuration problems with persistence services.", security = {
@SecurityRequirement(name = "oauth2", scopes = { "admin" }) }, responses = {
@ApiResponse(responseCode = "200", description = "OK", content = @Content(array = @ArraySchema(schema = @Schema(implementation = PersistenceServiceProblem.class), uniqueItems = true))) })