Optional routeTemplate parameters is tagged as required in spec · Issue #849 · domaindrivendev/Swashbuckle.WebApi · GitHub
![ScottGu's Blog - Optional Parameters and Named Arguments in C# 4 (and a cool scenario w/ ASP.NET MVC 2) ScottGu's Blog - Optional Parameters and Named Arguments in C# 4 (and a cool scenario w/ ASP.NET MVC 2)](https://aspblogs.blob.core.windows.net/media/scottgu/Media/image_1176FBC5.png)
ScottGu's Blog - Optional Parameters and Named Arguments in C# 4 (and a cool scenario w/ ASP.NET MVC 2)
![ScottGu's Blog - Optional Parameters and Named Arguments in C# 4 (and a cool scenario w/ ASP.NET MVC 2) ScottGu's Blog - Optional Parameters and Named Arguments in C# 4 (and a cool scenario w/ ASP.NET MVC 2)](https://aspblogs.blob.core.windows.net/media/scottgu/Media/image_6FBB4900.png)
ScottGu's Blog - Optional Parameters and Named Arguments in C# 4 (and a cool scenario w/ ASP.NET MVC 2)
![c# - Swagger UI adds extra slash when 2 optional parameters are null and Web Api does not hit the Route - Stack Overflow c# - Swagger UI adds extra slash when 2 optional parameters are null and Web Api does not hit the Route - Stack Overflow](https://i.stack.imgur.com/t6JDf.png)