swagger

1. 隐藏接口

在需要隐藏的控制器或action上添加此属性

[ApiExplorerSettings(IgnoreApi = true)]

原文地址:https://www.cnblogs.com/Celebrator/p/13838961.html