package uk.ac.ebi.biosamples.repos;

import org.springframework.data.rest.core.annotation.RepositoryRestResource;

import uk.ac.ebi.biosamples.models.NeoSample;

@RepositoryRestResource(path="samplesrelations",collectionResourceRel="samplesrelations",itemResourceRel="samplerelations")
public interface ReadOnlyNeoSampleRepository extends ReadOnlyGraphRepository<NeoSample> {
	
}

@@ -106,16 +106,83 @@
 esource;
+%0Aimport org.springframework.data.rest.core.annotation.RestResource;
 %0A%0Aimport
@@ -222,16 +222,17 @@
 ample;%0A%0A
+%0A
 @Reposit
@@ -345,16 +345,166 @@
 lations%22
+, exported=true)%0A//docs say one or the toher should be sufficient, but seems that you do need both%0A@RestResource(path=%22samplesrelations%22,exported=true
 )%0Apublic

Fix for exporting via REST