Code cleanup field-policy-controller
@@ -45,6 +45,11 @@ import io.swagger.annotations.ApiResponses;
@Path("/v1/field-policies")
public class FieldPolicyRestController {
+ /**
+ * Return a list of the possible Standardization rules available for an end user to configure in the feed user interface
+ *
+ * @return a list of the possible Standardization rules available for an end user to configure in the feed user interface
+ */
@GET
@Path("/standardization")
@Produces(MediaType.APPLICATION_JSON)
@@ -57,6 +62,10 @@ public class FieldPolicyRestController {
return Response.ok(standardizationRules).build();
}
+ /**
+ * Return a list of possible Validation rules available for an end user to configure in the feed user interface
+ * @return a list of possible Validation rules available for an end user to configure in the feed user interface
+ */
@GET
@Path("/validation")
@Produces(MediaType.APPLICATION_JSON)
