记录:@JSONField和@JsonProperty和@ApiModelProperty一起使用,swagger显示不正常
@JSONField(name = "C-API-Status")
@JsonProperty("C-API-Status")
@ApiModelProperty(value = "响应码")
private String CApiStatus;
@JSONField(name = "C-Response-Code")
@JsonProperty("C-Response-Code")
@ApiModelProperty(value = "888888")
private String CResponseCode;
@JSONField(name = "C-Response-Desc")
@JsonProperty("C-Response-Desc")
@ApiModelProperty(value = "响应信息")
private String CResponseDesc;
@JSONField(name = "C-Response-Body")
@JsonProperty("C-Response-Body")
@ApiMode
记录:@JSONField和@JsonProperty和@ApiModelProperty一起使用,swagger显示不正常最先出现在Python成神之路。
共有 0 条评论