Skip to content

Commit

Permalink
Fix another bug
Browse files Browse the repository at this point in the history
  • Loading branch information
MaggieKimani1 committed Oct 24, 2023
1 parent 9d228ae commit 29173e0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/Microsoft.OpenApi/Models/OpenApiHeader.cs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ namespace Microsoft.OpenApi.Models
/// </summary>
public class OpenApiHeader : IOpenApiSerializable, IOpenApiReferenceable, IOpenApiExtensible, IEffective<OpenApiHeader>
{
private JsonSchema _schema;
protected JsonSchema _schema;

/// <summary>
/// Indicates if object is populated with data or is just a reference to the data
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ public override string Description
public override bool AllowEmptyValue { get => Target.AllowEmptyValue; set => Target.AllowEmptyValue = value; }

/// <inheritdoc/>
public override JsonSchema Schema { get => Target.Schema; set => Target.Schema = value; }
public override JsonSchema Schema { get => _schema; set => _schema = value; }

/// <inheritdoc/>
public override ParameterStyle? Style { get => Target.Style; set => Target.Style = value; }
Expand Down

0 comments on commit 29173e0

Please sign in to comment.