swagger2.9.2接口文檔顯示問題

swagger版本:2.9.2 框架:springboot2.1.2   當沒有使用  @ApiImplicitParam和response=Resp.class時,swagger會自動去顯示接口入參對象的各屬性,及響應的對象屬性,如下圖:   而如果加入@ApiImplicitParam和response=Resp.class時,則沒有任務字段屬性顯示,如下:   所以建議,當接口的入參爲幾個字
相關文章
相關標籤/搜索