diff --git a/src/Microsoft.OpenApi/Models/Interfaces/IOpenApiSchema.cs b/src/Microsoft.OpenApi/Models/Interfaces/IOpenApiSchema.cs index bd551a786..954e6b094 100644 --- a/src/Microsoft.OpenApi/Models/Interfaces/IOpenApiSchema.cs +++ b/src/Microsoft.OpenApi/Models/Interfaces/IOpenApiSchema.cs @@ -63,11 +63,6 @@ public interface IOpenApiSchema : IOpenApiDescribedElement, IOpenApiReadOnlyExte /// public decimal? ExclusiveMinimum { get; } - /// - /// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00 - /// - public bool UnEvaluatedProperties { get; } - /// /// Follow JSON Schema definition: https://tools.ietf.org/html/draft-fge-json-schema-validation-00 /// Value MUST be a string in V2 and V3. diff --git a/src/Microsoft.OpenApi/Models/References/OpenApiSchemaReference.cs b/src/Microsoft.OpenApi/Models/References/OpenApiSchemaReference.cs index 2873065fd..e8ce0d907 100644 --- a/src/Microsoft.OpenApi/Models/References/OpenApiSchemaReference.cs +++ b/src/Microsoft.OpenApi/Models/References/OpenApiSchemaReference.cs @@ -64,8 +64,6 @@ public string? Description /// public decimal? ExclusiveMinimum { get => Target?.ExclusiveMinimum; } /// - public bool UnEvaluatedProperties { get => Target?.UnEvaluatedProperties ?? false; } - /// public JsonSchemaType? Type { get => Target?.Type; } /// public string? Const { get => Target?.Const; } diff --git a/test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt b/test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt index 6685b34d8..3127fc8ab 100644 --- a/test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt +++ b/test/Microsoft.OpenApi.Tests/PublicApi/PublicApi.approved.txt @@ -454,7 +454,6 @@ namespace Microsoft.OpenApi.Models.Interfaces System.Uri? Schema { get; } string? Title { get; } Microsoft.OpenApi.Models.JsonSchemaType? Type { get; } - bool UnEvaluatedProperties { get; } bool UnevaluatedProperties { get; } bool? UniqueItems { get; } System.Collections.Generic.IDictionary? UnrecognizedKeywords { get; } @@ -1391,7 +1390,6 @@ namespace Microsoft.OpenApi.Models.References public System.Uri? Schema { get; } public string? Title { get; } public Microsoft.OpenApi.Models.JsonSchemaType? Type { get; } - public bool UnEvaluatedProperties { get; } public bool UnevaluatedProperties { get; } public bool? UniqueItems { get; } public System.Collections.Generic.IDictionary? UnrecognizedKeywords { get; }