How to secure generated API documentation using swagger swashbuckle

Priyanka Mane picture Priyanka Mane · Aug 29, 2016 · Viewed 9.6k times · Source

I have implemented API documentation using swagger swashbukle. Now I want to publish generated documentation as a help file in my website. How to secure this link and publish?

Answer

Swagata Prateek picture Swagata Prateek · Aug 29, 2016

I don't think there's a way to secure the swagger swashbuckle endpoint up until now. You can have tips and more into this from their github issue here