FirstController
is hidden with an explicit attribute.
SecondController
uses an action model convention to dynamically hide it.
juunas11 / aspnetcorehideroutesfromswagger Goto Github PK
View Code? Open in Web Editor NEWDifferent strategies for hiding routes from Swagger documentation
License: MIT License