We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c53d3a5 commit 4c8eafaCopy full SHA for 4c8eafa
src/Microsoft.OpenApi.OData.Reader/Operation/EdmOperationOperationHandler.cs
@@ -109,7 +109,7 @@ protected override void SetBasicInfo(OpenApiOperation operation)
109
// Hash the segment to avoid duplicate operationIds
110
pathHash = string.IsNullOrEmpty(pathHash)
111
? opSegment.GetPathHash(Context.Settings)
112
- : (pathHash + opSegment.GetPathHash(Context.Settings)).GetHashSHA256()[..4];
+ : (pathHash + opSegment.GetPathHash(Context.Settings)).GetHashSHA256().Substring(0, 4);
113
}
114
115
identifiers.Add(segment.Identifier);
0 commit comments