title: How to exclude OPTIONS, HEAD and PATCH method from spring-data-rest entityController
body: <p>I am using spring-data-rest-webmvc:jar:2.5.3.RELEASE to write REST API and rendered the resources in springfox-data-rest-2.6.0. The swagger renders all methods resides in <code>RestEntityController</code>. I excluded some methods in repository level by using <code>@RestResource(exported = false)</code>. But swagger loads all other HTTP methods like OPTIONS, HEAD and PATCH which I am unable to exclude from <code>RepositoryRestResource</code>.</p>
  
  <p>How to render my swagger with clean resource that include only my CRUD and search methods? Need to support this either in using spring-data-rest configuration or using springfox configuration.</p>