diff --git a/src/Microsoft.OpenApi/Models/OpenApiHeader.cs b/src/Microsoft.OpenApi/Models/OpenApiHeader.cs
index 719825fd3..3606aa3d0 100644
--- a/src/Microsoft.OpenApi/Models/OpenApiHeader.cs
+++ b/src/Microsoft.OpenApi/Models/OpenApiHeader.cs
@@ -68,7 +68,7 @@ public class OpenApiHeader : IOpenApiSerializable, IOpenApiReferenceable, IOpenA
///
/// The schema defining the type used for the header.
///
- public virtual JsonSchema Schema { get; protected set; }
+ public virtual JsonSchema Schema { get; set; }
///
/// Example of the media type.
diff --git a/src/Microsoft.OpenApi/Models/OpenApiMediaType.cs b/src/Microsoft.OpenApi/Models/OpenApiMediaType.cs
index ffdd090da..c297d4aed 100644
--- a/src/Microsoft.OpenApi/Models/OpenApiMediaType.cs
+++ b/src/Microsoft.OpenApi/Models/OpenApiMediaType.cs
@@ -20,7 +20,7 @@ public class OpenApiMediaType : IOpenApiSerializable, IOpenApiExtensible
///
/// The schema defining the type used for the request body.
///
- public virtual JsonSchema Schema { get; protected set; }
+ public virtual JsonSchema Schema { get; set; }
///
/// Example of the media type.
diff --git a/src/Microsoft.OpenApi/Models/OpenApiParameter.cs b/src/Microsoft.OpenApi/Models/OpenApiParameter.cs
index 16c4afff6..f6f549402 100644
--- a/src/Microsoft.OpenApi/Models/OpenApiParameter.cs
+++ b/src/Microsoft.OpenApi/Models/OpenApiParameter.cs
@@ -107,7 +107,7 @@ public virtual bool Explode
///
/// The schema defining the type used for the request body.
///
- public virtual JsonSchema Schema { get; protected set; }
+ public virtual JsonSchema Schema { get; set; }
///
/// Examples of the media type. Each example SHOULD contain a value