Skip to content

Commit e87b64c

Browse files
committed
chore: typo fix
Signed-off-by: Vincent Biret <[email protected]>
1 parent 4cbb05a commit e87b64c

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -49,7 +49,7 @@ public ODataContext(IEdmModel model, OpenApiConvertSettings settings)
4949
IsSpatialTypeUsed = visitor.IsSpatialTypeUsed;
5050

5151
OperationHandlerProvider = new OperationHandlerProvider();
52-
PathItemHanderProvider = new PathItemHandlerProvider();
52+
PathItemHandlerProvider = new PathItemHandlerProvider();
5353

5454
// If no path provider, use the default path provider.
5555
_pathProvider = settings.PathProvider ?? new ODataPathProvider();
@@ -76,7 +76,7 @@ public ODataContext(IEdmModel model, OpenApiConvertSettings settings)
7676
/// <summary>
7777
/// Gets the path item handler provider.
7878
/// </summary>
79-
public IPathItemHandlerProvider PathItemHanderProvider { get; }
79+
public IPathItemHandlerProvider PathItemHandlerProvider { get; }
8080

8181
/// <summary>
8282
/// Gets the operation handler provider.

src/Microsoft.OpenApi.OData.Reader/Generator/OpenApiPathItemGenerator.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ public static IDictionary<string, OpenApiPathItem> CreatePathItems(this ODataCon
3737
settings.EnableKeyAsSegment = context.KeyAsSegment;
3838
foreach (ODataPath path in context.AllPaths)
3939
{
40-
IPathItemHandler handler = context.PathItemHanderProvider.GetHandler(path.Kind);
40+
IPathItemHandler handler = context.PathItemHandlerProvider.GetHandler(path.Kind);
4141
if (handler == null)
4242
{
4343
continue;

0 commit comments

Comments
 (0)