You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: bundles/org.openhab.core.io.rest.core/src/main/java/org/openhab/core/io/rest/core/internal/persistence/PersistenceResource.java
Copy file name to clipboardExpand all lines: bundles/org.openhab.core.io.rest.core/src/main/java/org/openhab/core/io/rest/core/internal/service/ConfigurableServiceResource.java
@@ -217,8 +218,8 @@ public Response getConfiguration(@PathParam("serviceId") @Parameter(description
217
218
@Path("/{serviceId}/config")
218
219
@Consumes(MediaType.APPLICATION_JSON)
219
220
@Produces({ MediaType.APPLICATION_JSON })
220
-
@Operation(operationId = "updateServiceConfig", summary = "Updates a service configuration for given service ID and returns the old configuration.", responses = {
@Operation(operationId = "updateServiceConfig", summary = "Updates a service configuration for given service ID and returns the old configuration.", requestBody = @RequestBody(required = false, content = @Content(mediaType = MediaType.APPLICATION_JSON, schema = @Schema(type = "object"))), responses = {
@ApiResponse(responseCode = "204", description = "No old configuration"),
223
224
@ApiResponse(responseCode = "500", description = "Configuration can not be updated due to internal error") })
224
225
publicResponseupdateConfiguration(
@@ -269,7 +270,7 @@ public Response updateConfiguration(
269
270
@Path("/{serviceId}/config")
270
271
@Produces({ MediaType.APPLICATION_JSON })
271
272
@Operation(operationId = "deleteServiceConfig", summary = "Deletes a service configuration for given service ID and returns the old configuration.", responses = {
Copy file name to clipboardExpand all lines: bundles/org.openhab.core.persistence/src/main/java/org/openhab/core/persistence/dto/PersistenceStrategyDTO.java
0 commit comments