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 1
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
2
// Licensed under the MIT license.
3
3
4
- using System ;
5
4
using System . Text . Json ;
6
5
using System . Text . Json . Nodes ;
7
- using Microsoft . OpenApi . Any ;
8
6
using Microsoft . OpenApi . Models ;
9
7
10
8
namespace 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.
3
2
// Licensed under the MIT license.
4
3
5
4
using System ;
9
8
using Microsoft . OpenApi . Exceptions ;
10
9
using Microsoft . OpenApi . Properties ;
11
10
using Microsoft . OpenApi . Validations . Rules ;
12
- using System . Data ;
13
11
14
12
namespace Microsoft . OpenApi . Validations
15
13
{
Original file line number Diff line number Diff line change @@ -1691,6 +1691,13 @@ namespace Microsoft.OpenApi.Validations.Rules
1691
1691
{
1692
1692
public static Microsoft.OpenApi.Validations.ValidationRule<Microsoft.OpenApi.Models.OpenApiLicense> LicenseRequiredFields { get; }
1693
1693
}
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
+ }
1694
1701
[Microsoft.OpenApi.Validations.Rules.OpenApiRule]
1695
1702
public static class OpenApiOAuthFlowRules
1696
1703
{
You can’t perform that action at this time.
0 commit comments