]> source.dussan.org Git - archiva.git/commitdiff
Fixing OpenAPI documentation
authorMartin Stockhammer <martin_s@apache.org>
Mon, 4 Jan 2021 16:04:14 +0000 (17:04 +0100)
committerMartin Stockhammer <martin_s@apache.org>
Mon, 4 Jan 2021 16:04:14 +0000 (17:04 +0100)
archiva-modules/archiva-web/archiva-rest/archiva-rest-api/src/main/java/org/apache/archiva/rest/api/services/v2/SecurityConfigurationService.java

index 1a22c0d1b97604f5dbfb4178b3c65992c86024cc..e70f465af60c3bb4b6c1d6941430a316befd6c2a 100644 (file)
@@ -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"