有一个带有字段的实体
cises:
type: array
description: An array of brands. The length must match the value of the quantity field, or the array must be empty
items:
type: string
Run Code Online (Sandbox Code Playgroud)
代码java
@SerializedName("cises")
private List<String> cises = null;
Run Code Online (Sandbox Code Playgroud)
如何使用 swagger codegen 默认设置一个空列表,而不是 null