Skip to content

Instantly share code, notes, and snippets.

@xenoterracide
Created September 3, 2014 02:15
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xenoterracide/2fef27d252f906b563d4 to your computer and use it in GitHub Desktop.
Save xenoterracide/2fef27d252f906b563d4 to your computer and use it in GitHub Desktop.
package com.lm.repository;
import com.lm.model.Task;
import org.springframework.data.repository.PagingAndSortingRepository;
import org.springframework.data.rest.core.annotation.RepositoryRestResource;
import java.util.UUID;
@RepositoryRestResource( collectionResourceRel = "task", path = "task")
public interface Tasks extends PagingAndSortingRepository<Task, UUID> {
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment