Hi folks
We are planning to adopt the EntityRefOrValue pattern for productOfferingPrice within a productOffering entity. We intend to implement oneOf between the value class and the ref class to support passing the price by value or by ref during POST.
Question - How should this pattern appear in the productOffering (parent) GET response? Is it fine to just have the productOffering GET response only return the priceRef and have the caller use an expand directive if an inline expand of the price is needed?
Appreciate any thoughts / feedback on this.
Thanks
Priya
------------------------------
Priya Prasad
Oracle Corporation
------------------------------