Closed ankiimation closed 1 year ago
{ "orderItems": { "type": "array", "items": { "$ref": "#/components/schemas/OrderItem" }, "nullable": true } }
MyModel({ required List<OrderItem>? orderItems, })
MyModel({ required List<OrderItem> orderItems, // it lost the '?' operator })
Example
Expect
Actual