Hi Tamal
If your aim is to return the Resource entity, there is no need to extend ResourceRef (realizingRsource) - you can use the expand and depth directives on the GET Product to control how to expand the ResourceRef (see the design guidelines TMF630).
The real challenge is not the Open API payload model, but rather how you populate it in the implementation of your TMF637 Product Inventory API. Somehow you will have to get an accurate state of the resource, either by retrieving just in time from resource inventory, or storing replica in your product inventory and updating the replica according to ResourceCreate/Update events.
Hope it helps
------------------------------
Jonathan Goldberg
Amdocs Management Limited
Any opinions and statements made by me on this forum are purely personal, and do not necessarily reflect the position of the TM Forum or my employer.
------------------------------