title: Is it possible to include the method name for an endpoint through Swashbuckle?
body: <p>So I'm trying to add API documentation for a set of old REST endpoints created through .NET Web API.  Someone suggested that I try using Swashbuckle to generate documentation off the existing endpoints, which sort of works.  </p>
  
  <p>My issue is that these endpoints have names that provide some context and Swashbuckle only seems to pick up the controller and not the actual method name.  For example, I have the following endpoint:</p>
  
  <pre><code>public class CatalogAvailabilityController
  {
      public List&lt;string&gt; GetSupportedCatalogsForCountry([FromUri] string countryCode)
      {
          //--return supported catalogs
      }
  }
  </code></pre>
  
  <p>In this case, the generated Swagger outputs something like the following:</p>
  
  <p><a href="https://i.stack.imgur.com/S3MaY.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/S3MaY.png" alt="enter image description here"></a></p>
  
  <p>Basically, it only includes the controller name (CatalogAvailability) in the URL, but I want it to have the "GetSupportedCatalogsForCountry" in the URL as well.  Is there a way to have Swashbuckle generate it like this or do I need to resort to going back and creating the Swagger myself?</p>
  
  <p>And yes, ideally, it probably shouldn't be setup like this and it should be more RESTful, but it's an older legacy system which would take a substantial effort to refactor, so I thought I'd ask first.  Thank you in advance.</p>