title: spring rest data plural url
body: <p>I have a domain class called <strong>StoreType.java</strong> which is exposed by below spring repository </p>
  
  <pre><code>public interface StoreTypeRepository extends PagingAndSortingRepository&lt;StoreType, Short&gt; {
  
  }
  </code></pre>
  
  <p>When I access this using url <code>http://localhost:8080/my-persistence/jpa/storetypes</code> it returns 404.</p>
  
  <p>if I change my domain class as <strong>Storetype</strong> (without camel case), it works fine and return 200 OK.</p>
  
  <p>I have few more repositories which uses single world domain classes like Store.java , Country.java and these work fine and by default these exposed as plural of domain class name.</p>
  
  <p>I know spring exposed url as plural of domain classes but not sure why it is not exposing it. I can override this using <code>@RepositoryRestResource(path="/storetypes")</code> but I want to know what is default rest url if domain classes name in camel case. </p>