.net Core 使用Swagger 让某些接口不显示在文档
参考:https://github.com/domaindrivendev/Swashbuckle.AspNetCore#omit-arbitrary-operations 在Action 上加[ApiExplorerSettings(IgnoreApi = true)] [HttpGet] [ApiExplorerSettings(IgnoreApi =...
原创
2018-06-13 16:01:05 ·
7301 阅读 ·
0 评论