Forum Discussion

rav_nan's avatar
rav_nan
Visitor
3 years ago

to disable syntaxhighlight for specific endpoint in swagger using .Net 5.0

I am using .Net 5.0 and want to disable syntaxhighlight for a specific endpoint to render the result faster. Is there a way to disable the syntaxhighlight for specific endpoint? In my Startup.cs class i can give the syntaxhighlight = false and it disables the syntaxhighlight for all the endpoints. Please suggest a possible approach if it exists in swagger.

 

Thanking you in advance

Ravindranath N