title: Swashbuckle Hide unreferenced model
body: <p>I'm having a problem with Swashbuckle when hiding a call the definition of the model linked to the call remains in the definition in the JSON generated.</p>
  
  <p>Using the Document filter, I'm able to remove the call from the interface.</p>
  
  <p>The calls remain in the JSON generated but are invisible in Swagger UI.
  We can also see the definition for the Model and Enum linked to theses calls.</p>
  
  <p>Theses are internal calls and need to be hidden from external eyes in the JSON.</p>
  
  <p>How can I hide all the calls and their references?</p>
  
  <p>Using [ApiExplorerSettings(IgnoreApi = true)] would fix my problem but I need to filter with an existing attribute.</p>