title: Is there a way to write a rest controller to upload file using spring-data-rest without using Spring-MVC?
body: <p>I have created repository like given code</p>
  
  <pre><code>@RepositoryRestResource(collectionResourceRel = "sample", path = "/sample" )
  public interface SampleRepository extends PagingAndSortingRepository&lt;Sample, Long&gt; {
  
  }
  </code></pre>
  
  <p>works fine for allcrud operations.</p>
  
  <p>But I wanted to create a rest repository which upload file,
  How i would do that with spring-data-rest?</p>