package xx.org.openherbarium.module.backend.metadataservice.rest.client;

import java.util.List;
import javax.ws.rs.GET;
import javax.ws.rs.Path;
import javax.ws.rs.QueryParam;
import org.openherbarium.module.backend.metadataservice.api.Metadata;
import org.openherbarium.module.backend.metadataservice.api.MetadataService;
import org.openherbarium.module.backend.metadataservice.api.SortOrder;
import org.openherbarium.module.backend.metadataservice.rest.api.MetadataServiceREST;

/**
 * Workaround till "interface bug" is fixed. This must be outside of the scanned packages.
 * 
 * @see MetadataServiceREST
 */
@Path("/metadataservice")
public interface IMetadataServiceRest extends MetadataService {


  @Override
  @GET
  public List<Metadata> find(@QueryParam("sortField") String sortField,
      @QueryParam("sortOrder") SortOrder sortOrder, @QueryParam("limit") int limit,
      @QueryParam("offset") int offset);
}

@@ -391,94 +391,8 @@
 der;
-%0Aimport org.openherbarium.module.backend.metadataservice.rest.api.MetadataServiceREST;
 %0A%0A/*
@@ -486,17 +486,16 @@
 ages.%0A *
- 
 %0A * @see

fix more checkstyle issues