This library makes ocelot easy to integrate swagger
Install-Package OcelotSwaggerIn method ConfigureServices
services.AddOcelotSwagger();In method Configure
app.UseOcelotSwagger(c =>
{
c.SwaggerEndPoints.Add(new SwaggerEndPoint { Name = "Api Name", Url = "/path/swagger.json" });
});- Cache