1. 隐藏接口
在需要隐藏的控制器或action上添加此属性
[ApiExplorerSettings(IgnoreApi = true)]
Powered by: 博客园 Copyright © 2024 E_T Powered by .NET 8.0 on Kubernetes