Fixed labels

This commit is contained in:
Luca Frosini 2024-04-10 15:40:31 +02:00
parent 93e8e63d63
commit 2845b1e3a4
4 changed files with 10 additions and 0 deletions

View File

@ -14,6 +14,7 @@
<ruby-json-client disabled="true" />
<java-json-client disabled="true" />
<javascript-client disabled="true" />
<jaxrs groupBy="class" />
<docs docsDir="${project.build.directory}" docsSubdir="api-docs" />
<swagger basePath="/${project.artifactId}" />
<docs freemarkerTemplate="${project.basedir}/src/main/resources/META-INF/enunciate/d4science_docs.fmt">

View File

@ -17,6 +17,8 @@ import org.gcube.grsf.publisher.annotation.PATCH;
import org.gcube.grsf.publisher.annotation.PURGE;
import org.gcube.grsf.publisher.ckan.record.FisheryRecord;
import com.webcohesion.enunciate.metadata.Label;
import com.webcohesion.enunciate.metadata.rs.ResourceGroup;
import com.webcohesion.enunciate.metadata.rs.ResourceLabel;
import com.webcohesion.enunciate.metadata.rs.ResponseCode;
import com.webcohesion.enunciate.metadata.rs.StatusCodes;
@ -25,6 +27,7 @@ import com.webcohesion.enunciate.metadata.rs.StatusCodes;
* @author Luca Frosini (ISTI - CNR)
*/
@Path(FisheryRESTAPIs.COLLECTION_PATH)
@ResourceGroup("Fishery APIs")
@ResourceLabel("Fishery APIs")
public class FisheryRESTAPIs extends BaseRESTAPIs<FisheryRecord> {

View File

@ -17,6 +17,8 @@ import org.gcube.grsf.publisher.annotation.PATCH;
import org.gcube.grsf.publisher.annotation.PURGE;
import org.gcube.grsf.publisher.ckan.record.StockRecord;
import com.webcohesion.enunciate.metadata.Label;
import com.webcohesion.enunciate.metadata.rs.ResourceGroup;
import com.webcohesion.enunciate.metadata.rs.ResourceLabel;
import com.webcohesion.enunciate.metadata.rs.ResponseCode;
import com.webcohesion.enunciate.metadata.rs.StatusCodes;
@ -25,6 +27,7 @@ import com.webcohesion.enunciate.metadata.rs.StatusCodes;
* @author Luca Frosini (ISTI - CNR)
*/
@Path(StockRESTAPIs.COLLECTION_PATH)
@ResourceGroup("Stock APIs")
@ResourceLabel("Stock APIs")
public class StockRESTAPIs extends BaseRESTAPIs<StockRecord> {

View File

@ -17,6 +17,8 @@ import org.gcube.grsf.publisher.annotation.PATCH;
import org.gcube.grsf.publisher.annotation.PURGE;
import org.gcube.grsf.publisher.ckan.record.TraceabilityUnitRecord;
import com.webcohesion.enunciate.metadata.Label;
import com.webcohesion.enunciate.metadata.rs.ResourceGroup;
import com.webcohesion.enunciate.metadata.rs.ResourceLabel;
import com.webcohesion.enunciate.metadata.rs.ResponseCode;
import com.webcohesion.enunciate.metadata.rs.StatusCodes;
@ -25,6 +27,7 @@ import com.webcohesion.enunciate.metadata.rs.StatusCodes;
* @author Luca Frosini (ISTI - CNR)
*/
@Path(TraceabilityUnitRESTAPIs.COLLECTION_PATH)
@ResourceGroup("Traceability Unit APIs")
@ResourceLabel("Traceability Unit APIs")
public class TraceabilityUnitRESTAPIs extends BaseRESTAPIs<TraceabilityUnitRecord>{