需要忽略的字段上用特性

[System.Text.Json.Serialization.JsonIgnore]

例如:

.net中swagger忽略某些字段

 

相关文章:

  • 2021-07-04
  • 2022-02-14
  • 2022-02-07
  • 2021-08-06
  • 2022-02-11
  • 2022-12-23
  • 2022-12-23
  • 2021-08-22
猜你喜欢
  • 2022-12-23
  • 2021-06-17
  • 2022-12-23
  • 2021-08-24
  • 2021-05-04
  • 2021-04-05
相关资源
相似解决方案