Skip to content

Commit bf51aa8

Browse files
committed
Revert "Add a protected modifier to the virtual property"
This reverts commit 0b717a4.
1 parent 0b717a4 commit bf51aa8

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

src/Microsoft.OpenApi/Models/OpenApiHeader.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -68,7 +68,7 @@ public class OpenApiHeader : IOpenApiSerializable, IOpenApiReferenceable, IOpenA
6868
/// <summary>
6969
/// The schema defining the type used for the header.
7070
/// </summary>
71-
public virtual JsonSchema Schema { get; protected set; }
71+
public virtual JsonSchema Schema { get; set; }
7272

7373
/// <summary>
7474
/// Example of the media type.

src/Microsoft.OpenApi/Models/OpenApiMediaType.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class OpenApiMediaType : IOpenApiSerializable, IOpenApiExtensible
2020
/// <summary>
2121
/// The schema defining the type used for the request body.
2222
/// </summary>
23-
public virtual JsonSchema Schema { get; protected set; }
23+
public virtual JsonSchema Schema { get; set; }
2424

2525
/// <summary>
2626
/// Example of the media type.

src/Microsoft.OpenApi/Models/OpenApiParameter.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ public virtual bool Explode
107107
/// <summary>
108108
/// The schema defining the type used for the request body.
109109
/// </summary>
110-
public virtual JsonSchema Schema { get; protected set; }
110+
public virtual JsonSchema Schema { get; set; }
111111

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

0 commit comments

Comments
 (0)