msgraph-metadata icon indicating copy to clipboard operation
msgraph-metadata copied to clipboard

The `graph.Json` should be modeled as `Edm.Untyped`

Open andrueastman opened this issue 11 months ago • 1 comments

The graph.Json type is used to model untyped Json data that could be of any typed.

This leads it to being converted to an object type microsoft.graph.json which is not accurate at representi possible primitive and collection types when converted to the openApi description.

Once the conversion library(Hidi) supports handling of Edm.Untyped in csdl metadata, we should add a transform to replace the properties/parameters types from graph.Json to Edm.Untyped for openApi based scenarios.

This will enable the converter to correctly represent dynamic types in the open api metadata.

andrueastman avatar Mar 22 '24 09:03 andrueastman