title: WebAPI Controller method not showing in swagger
body: <p>C# Azure Web Service API</p>
  
  <p>I created a web service that I'm using a mobile app to hook up to.  I created a default CRUD controller in the controllers container and all of those methods show (and works well) in swagger.</p>
  
  <p>I added a new method in the controller to perform a task not covered in the CRUD and it's not showing in swagger.  Example:</p>
  
  <pre><code>    public async Task&lt;IHttpActionResult&gt; test(tblProfileList test)
      {
          // just testing to see if this method shows in swagger
          tblProfileList ProfileList = await db.tblProfileLists.FindAsync("10");
          return NotFound(); // yes, 10 will never be found but that's not the point of this test
      }
  </code></pre>
  
  <p>Even if I modify an existing CRUD method in the controller, it will end up removing it from swagger.  It seems like a mapping issue of some sort but I can't see where the methods are registered other than in the WebApiConfig.cs:</p>
  
  <pre><code>    public static void Register(HttpConfiguration config)
      {
          // Web API configuration and services
  
          // Web API routes
          config.MapHttpAttributeRoutes();
  
          config.Routes.MapHttpRoute(
              name: "DefaultApi",
              routeTemplate: "api/{controller}/{id}",
              defaults: new { id = RouteParameter.Optional }
          );
      }
  </code></pre>
  
  <p>Why can't I change the names of the methods or add a new method in an existing controller?  Or should I say, how can I add a method in and have it show in swagger?</p>