title: Manually set operationId to allow multiple operations with the same verb in Swashbuckle
body: <p>I need to know if it's possible to set up custom operationid, or a naming convention, I mean I know that operation filter can be overwritten the way how operationId is generated</p>
  
  <p><a href="https://azure.microsoft.com/en-us/documentation/articles/app-service-api-dotnet-swashbuckle-customize/" rel="nofollow noreferrer">https://azure.microsoft.com/en-us/documentation/articles/app-service-api-dotnet-swashbuckle-customize/</a></p>
  
  <pre><code>using Swashbuckle.Swagger;
  using System.Web.Http.Description;
  
  namespace Something
  {
      public class MultipleOperationsWithSameVerbFilter : IOperationFilter
      {
          public void Apply(
              Operation operation,
              SchemaRegistry schemaRegistry,
              ApiDescription apiDescription)
          {
              if (operation.parameters != null)
              {
                  operation.operationId += "By";
                  foreach (var parm in operation.parameters)
                  {
                      operation.operationId += string.Format("{0}",parm.name);
                  }
              }
          }
      }
  }
  </code></pre>
  
  <p>in SwaggerConfig.cs</p>
  
  <pre><code> c.OperationFilter&lt;MultipleOperationsWithSameVerbFilter&gt;();
  </code></pre>
  
  <p>Now this is helpful transforming swagger description, check bellow:</p>
  
  <p><a href="https://i.stack.imgur.com/WATxx.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/WATxx.png" alt="enter image description here"></a></p>
  
  <p>All good, now I endup with another problem, example similar with may cases: on same controller I have two endpoints</p>
  
  <ul>
  <li>Post: /customer boddy: {email, location....}</li>
  <li>Post: /customer/search boddy: {a filter, whatever}</li>
  </ul>
  
  <p>The example is not quite correct (last post should be a get) but still le assume that webapi cannot be changed (new controller for separation) for this particular case I will try to figure out a way to generate operationId diffrent for each action somehow, but my question is this: </p>
  
  <blockquote>
    <p>Is it possible to decorate somehow the controller actions similar with
    [JsonIgnore] or with [Route("customer/delete")], to be explicit about the <strong>operationId</strong>. </p>
  </blockquote>