vivo / MoonBox

月光宝盒:无侵入的流量录制与回放平台 A server-side traffic capture and replay platform with noninvasive
Apache License 2.0
1.17k stars 193 forks source link

http调用返回结果为org.springframework.http.ResponseEntity类型时,查看接口详情时报错 #39

Closed swz19941214 closed 1 year ago

swz19941214 commented 1 year ago

当http调用(调用类型为REST_CLIENT)的返回结果为org.springframework.http.ResponseEntity类型时,查看接口详情时会报类型错误: "Could not write JSON: Class java.util.HashMap not subtype of org.springframework.http.HttpHeaders; nested exception is com.fasterxml.jackson.databind.JsonMappingException: Class java.util.HashMap not subtype of org.springframework.http.HttpHeaders (through reference chain: com.vivo.internet.moonbox.common.api.dto.MoonBoxResult[\"data\"]->com.vivo.internet.moonbox.service.console.vo.RecordDetailVo[\"subInvocations\"]->java.util.ArrayList[0]->com.vivo.internet.moonbox.service.console.vo.InvocationVo[\"response\"]->org.springframework.http.ResponseEntity[\"headers\"])"

yananliuyanjiang commented 1 year ago

感谢PR