title: How to hide repository-controller from Swagger UI
body: <p>I am using spring-boot-starter-parent 1.3.3.RELEASE. I am unable to disable repository controller in Swagger UI</p>
  
  <p><a href="https://i.stack.imgur.com/0mI22.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/0mI22.png" alt="enter image description here"></a></p>
  
  <p>I have disabled the other unwanted endpoints using this <a href="https://stackoverflow.com/questions/40238166/avoid-showing-spring-framework-specific-services-as-part-of-swagger-interface">link</a>.</p>
  
  <p>How to disable repository-controller from swagger UI?? kindly provide your inputs</p>
  
  <p>If use the follow, it returns only the search repository which written by me but I need the entity endpoints also. Those entities endpoints will return by spring defaults.</p>
  
  <pre><code>.apis(RequestHandlerSelectors.basePackage("bla.blablah.bla"))
  </code></pre>
  
  <p>Kindly refer the image: <a href="https://i.stack.imgur.com/DHVVm.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/DHVVm.png" alt="enter image description here"></a></p>