diff --git a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataTypeCastSegment.cs b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataTypeCastSegment.cs index 1b385efb..6a7e660e 100644 --- a/src/Microsoft.OpenApi.OData.Reader/Edm/ODataTypeCastSegment.cs +++ b/src/Microsoft.OpenApi.OData.Reader/Edm/ODataTypeCastSegment.cs @@ -54,6 +54,6 @@ public override string GetPathItemName(OpenApiConvertSettings settings, HashSet< return StructuredType is IEdmSchemaElement element && _model != null ? EdmModelHelper.StripOrAliasNamespacePrefix(element, settings, _model) - : (StructuredType.FullName()); + : StructuredType.FullTypeName(); } -} \ No newline at end of file +}