From 2ff3ec9060d1edb7a23f97423d204e9e4ae1063e Mon Sep 17 00:00:00 2001 From: Martin Stockhammer Date: Mon, 4 Jan 2021 17:04:14 +0100 Subject: [PATCH] Fixing OpenAPI documentation --- .../rest/api/services/v2/SecurityConfigurationService.java | 3 --- 1 file changed, 3 deletions(-) diff --git a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/v2/SecurityConfigurationService.java b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/v2/SecurityConfigurationService.java index 1a22c0d1b..e70f465af 100644 --- a/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/v2/SecurityConfigurationService.java +++ b/archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/v2/SecurityConfigurationService.java @@ -175,7 +175,6 @@ public interface SecurityConfigurationService name = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION ) }, - requestBody = @RequestBody(required = true, description = "The property value"), parameters = { @Parameter(in = ParameterIn.PATH, name="propertyName", description = "The name of the property to update") }, @@ -223,7 +222,6 @@ public interface SecurityConfigurationService name = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION ) }, - requestBody = @RequestBody(required = true, description = "The LDAP configuration"), responses = { @ApiResponse( responseCode = "200", description = "If the configuration was updated" @@ -264,7 +262,6 @@ public interface SecurityConfigurationService name = ArchivaRoleConstants.OPERATION_MANAGE_CONFIGURATION ) }, - requestBody = @RequestBody(required = true, description = "The LDAP configuration"), responses = { @ApiResponse( responseCode = "200", description = "If the configuration was updated" -- 2.39.5