Skip to content

Commit 4c8eafa

Browse files
committed
chore: fix merge issue
1 parent c53d3a5 commit 4c8eafa

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationOperationHandler.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -109,7 +109,7 @@ protected override void SetBasicInfo(OpenApiOperation operation)
109109
// Hash the segment to avoid duplicate operationIds
110110
pathHash = string.IsNullOrEmpty(pathHash)
111111
? opSegment.GetPathHash(Context.Settings)
112-
: (pathHash + opSegment.GetPathHash(Context.Settings)).GetHashSHA256()[..4];
112+
: (pathHash + opSegment.GetPathHash(Context.Settings)).GetHashSHA256().Substring(0, 4);
113113
}
114114

115115
identifiers.Add(segment.Identifier);

0 commit comments

Comments
 (0)