I have a RestController which accepts the Order entity and the Order entity has OrderLineItem with One-to-Many
RestController
Order
OrderLineItem
One-to-Many