Assuming you’re using Swashbuckle, you’d need to file a ticket on the project 
to get an answer.

 

 

 

 

From: <[email protected]> on behalf of Pankaj Joshi 
<[email protected]>
Reply-To: "[email protected]" 
<[email protected]>
Date: Wednesday, October 4, 2017 at 03:47
To: Swagger <[email protected]>
Subject: How to hide API docs for different vendors?

 

I'm using swagger with .net web project. I need to control swagger based on 
clients ... example... I'm generating 3 APIs for 3 different clients... lets 
say amazon, ebay and yahoo. 
Now all three companies have different APIS so I've 3 different controller and 
want to hide swagger API doc of ebay and amazon to yahoo client and so on.. how 
can i do that?

currently swagger is reading all data from controllers, and i want to generate 
docs for all customers but don't want to show method/implementation to each 
other!

-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.


-- 
You received this message because you are subscribed to the Google Groups 
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to