Skip to content

Commit bb6d580

Browse files
committed
Merge branch 'bugfix/odata-cast' of https://github.com/microsoft/OpenAPI.NET.OData into bugfix/odata-cast
2 parents bc156b2 + aabb4d8 commit bb6d580

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/Microsoft.OpenApi.OData.Reader/Edm/ODataPath.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -337,7 +337,7 @@ private ODataPathKind CalcPathType()
337337
}
338338

339339
/// <summary>
340-
/// Profides a suffix for the operation id based on the operation path.
340+
/// Provides a suffix for the operation id based on the operation path.
341341
/// </summary>
342342
/// <param name="settings">The settings.</param>
343343
///<returns>The suffix.</returns>

src/Microsoft.OpenApi.OData.Reader/Edm/ODataPathProvider.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -423,7 +423,7 @@ private void CreateCountPath(ODataPath currentPath, OpenApiConvertSettings conve
423423
/// <param name="targetsMany">Whether the annotable navigation source targets many entities.</param>
424424
private void CreateTypeCastPaths(ODataPath currentPath, OpenApiConvertSettings convertSettings, IEdmStructuredType structuredType, IEdmVocabularyAnnotatable annotable, bool targetsMany)
425425
{
426-
if(currentPath == null) throw new ArgumentNullException(nameof(currentPath));
426+
if(currentPath == null) throw Error.ArgumentNull(nameof(currentPath));
427427
if(convertSettings == null) throw new ArgumentNullException(nameof(convertSettings));
428428
if(structuredType == null) throw new ArgumentNullException(nameof(structuredType));
429429
if(annotable == null) throw new ArgumentNullException(nameof(annotable));

0 commit comments

Comments
 (0)