Hi all, The specification mentioned that "The OData metadata describes top-level service resources and resource types according to ODataSchema." (DSP0266_1.8.0.pdf, 8.3.1) Should all the odata schemas(Everything in schema bundle) be listed for "/redfish/v1/$metadata" (Not able to support for implementation) or listing the odata schema that implementation supported?
No, you do not need to include everything. You only need to include schemas and namespaces your service implements.
Generally speaking, OData clients will use properties like "@odata.context" and "@odata.type" in conjunction with "$metadata" to look up definitions. So, if your service reports "#ComputerSystem.v1_5_0.ComputerSystem" as a value for "@odata.type", then "$metadata" needs to contain a reference to the "ComputerSystem.v1_5_0" namespace.