新手问题 Grape swagger ui 展示 Array [Hash] 字段名称不正确

QETHAN · 2018年01月02日 · 最后由 pynix 回复于 2018年01月02日 · 1109 次阅读

optional :comments, type: Array do 
  requires :content, type: String, allow_blank: false 
end

正确的应该是 comments[][content], 请问这是 swagger 的 bug 吗

丝袜 有很多 bug。。。。

需要 登录 后方可回复, 如果你还没有账号请 注册新账号