package eu.europa.esig.dss.validation;

import java.io.Serializable;

import javax.ws.rs.Consumes;
import javax.ws.rs.POST;
import javax.ws.rs.Path;
import javax.ws.rs.PathParam;
import javax.ws.rs.Produces;
import javax.ws.rs.core.MediaType;

import org.apache.cxf.jaxrs.model.wadl.Description;

import com.sun.istack.Nullable;

import eu.europa.esig.dss.RemoteDocument;
import eu.europa.esig.dss.validation.reports.dto.DataToValidateDTO;
import eu.europa.esig.dss.validation.reports.dto.ReportsDTO;
import eu.europa.esig.jaxb.policy.ConstraintsParameters;

@Path("ValidationService")
@Produces(MediaType.APPLICATION_JSON)
@Consumes(MediaType.APPLICATION_JSON)
@Description(value = "This REST interface provides operations for the validation of signature.")
public interface RestDocumentValidationService extends Serializable {

	@POST
	@Path("validateSignature")
	ReportsDTO validateSignature(DataToValidateDTO dataToValidate);
}

@@ -146,38 +146,8 @@
 th;%0A
-import javax.ws.rs.PathParam;%0A
 impo
@@ -264,83 +264,8 @@
 n;%0A%0A
-import com.sun.istack.Nullable;%0A%0Aimport eu.europa.esig.dss.RemoteDocument;%0A
 impo
@@ -392,65 +392,8 @@
 DTO;
-%0Aimport eu.europa.esig.jaxb.policy.ConstraintsParameters;
 %0A%0A@P

Clean imports