title: How to omit methods from Swagger documentation on WebAPI using Swashbuckle
body: <p>I have a C# ASP.NET WebAPI application with API documentation being automatically generated using <a href="https://github.com/domaindrivendev/Swashbuckle" rel="noreferrer"><strong>Swashbuckle</strong></a>.  I want to be able to <strong>omit certain methods</strong> from the documentation but I can't seem to work out how to tell Swagger not to include them in the Swagger UI output.</p>
  <p>I sense it is something to do with <strong>adding a model or schema filter</strong> but it isn't obvious what to do and the documentation only seems to provide examples of how to modify the output for a method, not remove it completely from the output.</p>