How can I annotate optional string as not nullable

后端 未结 0 371
执念已碎
执念已碎 2021-01-15 12:38

I have a DTO that contains several string properties.

None of them are string? but swagger somehow descript them as nullable: true.

T

相关标签:
回答
  • 消灭零回复
提交回复
热议问题