File tree Expand file tree Collapse file tree 3 files changed +8
-5
lines changed
src/Microsoft.OpenApi/Validations
test/Microsoft.OpenApi.Tests/PublicApi Expand file tree Collapse file tree 3 files changed +8
-5
lines changed Original file line number Diff line number Diff line change 11// Copyright (c) Microsoft Corporation. All rights reserved.
22// Licensed under the MIT license.
33
4- using System ;
54using System . Text . Json ;
65using System . Text . Json . Nodes ;
7- using Microsoft . OpenApi . Any ;
86using Microsoft . OpenApi . Models ;
97
108namespace Microsoft . OpenApi . Validations . Rules
Original file line number Diff line number Diff line change 1-
2- // Copyright (c) Microsoft Corporation. All rights reserved.
1+ // Copyright (c) Microsoft Corporation. All rights reserved.
32// Licensed under the MIT license.
43
54using System ;
98using Microsoft . OpenApi . Exceptions ;
109using Microsoft . OpenApi . Properties ;
1110using Microsoft . OpenApi . Validations . Rules ;
12- using System . Data ;
1311
1412namespace Microsoft . OpenApi . Validations
1513{
Original file line number Diff line number Diff line change @@ -1691,6 +1691,13 @@ namespace Microsoft.OpenApi.Validations.Rules
16911691 {
16921692 public static Microsoft.OpenApi.Validations.ValidationRule<Microsoft.OpenApi.Models.OpenApiLicense> LicenseRequiredFields { get; }
16931693 }
1694+ public static class OpenApiNonDefaultRules
1695+ {
1696+ public static Microsoft.OpenApi.Validations.ValidationRule<Microsoft.OpenApi.Models.OpenApiHeader> HeaderMismatchedDataType { get; }
1697+ public static Microsoft.OpenApi.Validations.ValidationRule<Microsoft.OpenApi.Models.OpenApiMediaType> MediaTypeMismatchedDataType { get; }
1698+ public static Microsoft.OpenApi.Validations.ValidationRule<Microsoft.OpenApi.Models.OpenApiParameter> ParameterMismatchedDataType { get; }
1699+ public static Microsoft.OpenApi.Validations.ValidationRule<Microsoft.OpenApi.Models.OpenApiSchema> SchemaMismatchedDataType { get; }
1700+ }
16941701 [Microsoft.OpenApi.Validations.Rules.OpenApiRule]
16951702 public static class OpenApiOAuthFlowRules
16961703 {
You can’t perform that action at this time.
0 commit comments