您的位置: 首页 > IT文章 > .net中swagger忽略某些字段 .net中swagger忽略某些字段 分类: IT文章 • 2022-04-24 17:07:18 需要忽略的字段上用特性 [System.Text.Json.Serialization.JsonIgnore] 例如: