You can add the following attribute to Controllers and Actions to exclude them from the generated documentation
[ApiExplorerSettings(IgnoreApi = true)]
Here is how you can add this on to a controller.
[ApiExplorerSettings(IgnoreApi = true)] [Produces("application/json")] [Consumes("application/json")] [NSAuthorize("Permission", "CanReadResource")] public class CommonController : BaseController
No comments:
Post a Comment