Swagger-Net Display Request Duration

369 Views Asked by At

I'm using Swagger-Net to be able to get Swagger documentation to my API without much hassle. It's going well, but I'm trying to configure it to display execution runtime of my API methods and I'm unable to do it.

I've seen a DisplayRequestDuration() inside a UseSwaggerUI, but in Swagger-Net I don't have that method. Also I tried the c.AdditionalSettings.Add("displayRequestDuration ", true) approach, but nothing.

Anyone knows how to add DisplayRequestDuration specifically to Swagger-Net?

0

There are 0 best solutions below