2

使用”包含请求“(includeParameters)后, 无法修改字段的“是否必须“(require)属性

 2 years ago
source link: https://www.oschina.net/question/4955163_2324383
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.

使用”包含请求“(includeParameters)后, 无法修改字段的“是否必须“(require)属性

osc_46051946 发布于 昨天 21:41

使用”包含请求“(includeParameters)后, 无法修改字段的“是否必须“(require)属性。

如果只是对象参数,还可以用@apiimplicitparam覆盖然后修改是否必须,

但如果参数是list就不知道怎么覆盖了。

请问有什么好的解决方案吗


About Joyk


Aggregate valuable and interesting links.
Joyk means Joy of geeK