「string-list」キーと値のペアを含むモデル オブジェクトを作成しようとしています。リストを空のリストの代わりに null にデフォルト設定する方法はありますか?
現在、モデルのセットアップ方法は次のとおりです。
Filter:
type: "object"
properties:
and:
type: "array"
items:
$ref: "#/FilterField"
or:
type: "array"
items:
$ref: "#/FilterField"
フィールドが空の場合or
、空のリストを生成するだけですが、代わりにor: []
生成する方法はありますか?or: null
or: []