Swagger and ASP.net Routes conventional

Tiger Ser 1 Reputation point

I been doing some research about topic and have some sort of understanding is swagger not support conventional routes natively, (correct me if I'm not get it right or it's not the right direction) I'm new and would like some help of explanation about it. (Is it the way it, why is that,...)

A set of technologies in the .NET Framework for building web applications and XML web services.
4,130 questions
0 comments No comments
{count} votes

1 answer

Sort by: Most helpful
  1. Dillon Silzer 54,286 Reputation points

    Hi @Tiger Ser

    As seen in the following response on StackOverflow, "conventional routing is not supported by API Explorer (which is what Swashbackle base on)." Their solution was to use Swashbuckle.AspNetCore.SwaggerGen.ConventionalRouting package by chsakell found on https://github.com/chsakell/Swashbuckle.AspNetCore.SwaggerGen.ConventionalRouting



    If this is helpful please accept answer.

    0 comments No comments