版权声明:本文为博主原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接和本声明。
参考:https://github.com/domaindrivendev/Swashbuckle.AspNetCore#omit-arbitrary-operations
在Action 上加[ApiExplorerSettings(IgnoreApi = true)]
[HttpGet]
[ApiExplorerSettings(IgnoreApi = true)]
public ActionResult Index(string appKey , string username )
{
//todo
}
————————————————
版权声明:本文为优快云博主「尘世那么美」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。
原文链接:https://blog.youkuaiyun.com/u012758935/article/details/80680239