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