diff --git a/src/Microsoft.OpenApi/Models/OpenApiOperation.cs b/src/Microsoft.OpenApi/Models/OpenApiOperation.cs
index d354907ee..80aa1e429 100644
--- a/src/Microsoft.OpenApi/Models/OpenApiOperation.cs
+++ b/src/Microsoft.OpenApi/Models/OpenApiOperation.cs
@@ -12,11 +12,6 @@ namespace Microsoft.OpenApi
///
public class OpenApiOperation : IOpenApiSerializable, IOpenApiExtensible, IMetadataContainer
{
- ///
- /// Default value for .
- ///
- public const bool DeprecatedDefault = false;
-
private ISet? _tags;
///
/// A list of tags for API documentation control.
@@ -97,7 +92,7 @@ public ISet? Tags
///
/// Declares this operation to be deprecated. Consumers SHOULD refrain from usage of the declared operation.
///
- public bool Deprecated { get; set; } = DeprecatedDefault;
+ public bool Deprecated { get; set; }
///
/// A declaration of which security mechanisms can be used for this operation.
diff --git a/test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt b/test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt
index a12c2ee9d..40e9d307f 100644
--- a/test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt
+++ b/test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt
@@ -925,7 +925,6 @@ namespace Microsoft.OpenApi
}
public class OpenApiOperation : Microsoft.OpenApi.IMetadataContainer, Microsoft.OpenApi.IOpenApiElement, Microsoft.OpenApi.IOpenApiExtensible, Microsoft.OpenApi.IOpenApiSerializable
{
- public const bool DeprecatedDefault = false;
public OpenApiOperation() { }
public OpenApiOperation(Microsoft.OpenApi.OpenApiOperation operation) { }
public System.Collections.Generic.IDictionary? Callbacks { get; set; }