Skip to content

Commit

Permalink
Revert "Add a protected modifier to the virtual property"
Browse files Browse the repository at this point in the history
This reverts commit 0b717a4.
  • Loading branch information
MaggieKimani1 committed Oct 24, 2023
1 parent 0b717a4 commit bf51aa8
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 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 @@ -68,7 +68,7 @@ public class OpenApiHeader : IOpenApiSerializable, IOpenApiReferenceable, IOpenA
/// <summary>
/// The schema defining the type used for the header.
/// </summary>
public virtual JsonSchema Schema { get; protected set; }
public virtual JsonSchema Schema { get; set; }

/// <summary>
/// Example of the media type.
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.OpenApi/Models/OpenApiMediaType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ public class OpenApiMediaType : IOpenApiSerializable, IOpenApiExtensible
/// <summary>
/// The schema defining the type used for the request body.
/// </summary>
public virtual JsonSchema Schema { get; protected set; }
public virtual JsonSchema Schema { get; set; }

/// <summary>
/// Example of the media type.
Expand Down
2 changes: 1 addition & 1 deletion src/Microsoft.OpenApi/Models/OpenApiParameter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ public virtual bool Explode
/// <summary>
/// The schema defining the type used for the request body.
/// </summary>
public virtual JsonSchema Schema { get; protected set; }
public virtual JsonSchema Schema { get; set; }

/// <summary>
/// Examples of the media type. Each example SHOULD contain a value
Expand Down

0 comments on commit bf51aa8

Please sign in to comment.