Skip to content

Commit

Permalink
Merge pull request #1405 from SimonCropp/fix-Fileds-typo
Browse files Browse the repository at this point in the history
fix Fileds typo
  • Loading branch information
baywet authored Oct 6, 2023
2 parents d3833c4 + 122d841 commit 4dfe0e7
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ namespace Microsoft.OpenApi.Readers.V3
/// </summary>
internal static partial class OpenApiV3Deserializer
{
private static readonly FixedFieldMap<OpenApiOAuthFlow> _oAuthFlowFixedFileds =
private static readonly FixedFieldMap<OpenApiOAuthFlow> _oAuthFlowFixedFields =
new()
{
{
Expand Down Expand Up @@ -51,7 +51,7 @@ public static OpenApiOAuthFlow LoadOAuthFlow(ParseNode node)
var oauthFlow = new OpenApiOAuthFlow();
foreach (var property in mapNode)
{
property.ParseField(oauthFlow, _oAuthFlowFixedFileds, _oAuthFlowPatternFields);
property.ParseField(oauthFlow, _oAuthFlowFixedFields, _oAuthFlowPatternFields);
}

return oauthFlow;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ namespace Microsoft.OpenApi.Readers.V3
/// </summary>
internal static partial class OpenApiV3Deserializer
{
private static readonly FixedFieldMap<OpenApiOAuthFlows> _oAuthFlowsFixedFileds =
private static readonly FixedFieldMap<OpenApiOAuthFlows> _oAuthFlowsFixedFields =
new()
{
{"implicit", (o, n) => o.Implicit = LoadOAuthFlow(n)},
Expand All @@ -35,7 +35,7 @@ public static OpenApiOAuthFlows LoadOAuthFlows(ParseNode node)
var oAuthFlows = new OpenApiOAuthFlows();
foreach (var property in mapNode)
{
property.ParseField(oAuthFlows, _oAuthFlowsFixedFileds, _oAuthFlowsPatternFields);
property.ParseField(oAuthFlows, _oAuthFlowsFixedFields, _oAuthFlowsPatternFields);
}

return oAuthFlows;
Expand Down

0 comments on commit 4dfe0e7

Please sign in to comment.