WebApi 中 定义的函数 不对外显示 (action不显示在help页面),做如下设置即可:

[ApiExplorerSettings(IgnoreApi=true)]
public HttpResponseMessage Test(int id) {  }
posted @ 2017-12-20 13:21  丿丶小脚丫  阅读(296)  评论(0)    收藏  举报