❔ Swashbuckle remove SwaggerDoc
I have two swagger docs and I want one of them to be entirely removed (from the drop down too) based on user roles.
With document filter I can remove all operations but I can't find a way to remove the doc itself entirely.
2 Replies