Skip to content

Commit 3196915

Browse files
committed
Enable PublicAPI analyzers and update public API
1 parent ec8848f commit 3196915

File tree

2 files changed

+50
-15
lines changed

2 files changed

+50
-15
lines changed

src/Http/Http.Abstractions/src/Microsoft.AspNetCore.Http.Abstractions.csproj

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@ Microsoft.AspNetCore.Http.HttpResponse</Description>
1414
<PackageTags>aspnetcore</PackageTags>
1515
<IsPackable>false</IsPackable>
1616
<IsTrimmable>true</IsTrimmable>
17-
<NoWarn>RS0016;RS0017</NoWarn>
1817
</PropertyGroup>
1918

2019
<ItemGroup>
Lines changed: 50 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -1,21 +1,57 @@
11
#nullable enable
2-
abstract Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo.Validate(object? value, string! prefix, System.Collections.Generic.Dictionary<string!, string![]!>! validationErrors, Microsoft.AspNetCore.Http.Validation.IValidatableTypeInfoResolver! validatableTypeInfoResolver) -> void
2+
abstract Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo.GetValidationAttributes() -> System.ComponentModel.DataAnnotations.ValidationAttribute![]!
3+
abstract Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.GetValidationAttributes() -> System.ComponentModel.DataAnnotations.ValidationAttribute![]!
34
Microsoft.AspNetCore.Http.ProducesResponseTypeMetadata.Description.get -> string?
45
Microsoft.AspNetCore.Http.ProducesResponseTypeMetadata.Description.set -> void
56
Microsoft.AspNetCore.Http.Metadata.IProducesResponseTypeMetadata.Description.get -> string?
6-
Microsoft.AspNetCore.Http.Validation.IValidatableTypeInfoResolver
7-
Microsoft.AspNetCore.Http.Validation.IValidatableTypeInfoResolver.GetValidatableTypeInfo(System.Type! type) -> Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo?
8-
Microsoft.AspNetCore.Http.Validation.ValidatableMember
9-
Microsoft.AspNetCore.Http.Validation.ValidatableMember.DisplayName.get -> string!
10-
Microsoft.AspNetCore.Http.Validation.ValidatableMember.HasValidatableType.get -> bool
11-
Microsoft.AspNetCore.Http.Validation.ValidatableMember.IsEnumerable.get -> bool
12-
Microsoft.AspNetCore.Http.Validation.ValidatableMember.IsNullable.get -> bool
13-
Microsoft.AspNetCore.Http.Validation.ValidatableMember.Name.get -> string!
14-
Microsoft.AspNetCore.Http.Validation.ValidatableMember.ValidatableMember(string! name, string! displayName, bool isEnumerable, bool isNullable, bool hasValidatableType, System.Collections.Generic.IDictionary<string!, string![]!>! validationAttributes) -> void
15-
Microsoft.AspNetCore.Http.Validation.ValidatableMember.ValidationAttributes.get -> System.Collections.Generic.IDictionary<string!, string![]!>!
7+
Microsoft.AspNetCore.Http.Validation.IValidatableInfoResolver
8+
Microsoft.AspNetCore.Http.Validation.IValidatableInfoResolver.GetValidatableParameterInfo(System.Reflection.ParameterInfo! parameterInfo) -> Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo?
9+
Microsoft.AspNetCore.Http.Validation.IValidatableInfoResolver.GetValidatableTypeInfo(System.Type! type) -> Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo?
10+
Microsoft.AspNetCore.Http.Validation.ValidatableContext
11+
Microsoft.AspNetCore.Http.Validation.ValidatableContext.Prefix.get -> string!
12+
Microsoft.AspNetCore.Http.Validation.ValidatableContext.Prefix.set -> void
13+
Microsoft.AspNetCore.Http.Validation.ValidatableContext.ValidatableContext() -> void
14+
Microsoft.AspNetCore.Http.Validation.ValidatableContext.ValidationContext.get -> System.ComponentModel.DataAnnotations.ValidationContext?
15+
Microsoft.AspNetCore.Http.Validation.ValidatableContext.ValidationContext.set -> void
16+
Microsoft.AspNetCore.Http.Validation.ValidatableContext.ValidationErrors.get -> System.Collections.Generic.Dictionary<string!, string![]!>?
17+
Microsoft.AspNetCore.Http.Validation.ValidatableContext.ValidationErrors.set -> void
18+
Microsoft.AspNetCore.Http.Validation.ValidatableContext.ValidationOptions.get -> Microsoft.AspNetCore.Http.Validation.ValidationOptions!
19+
Microsoft.AspNetCore.Http.Validation.ValidatableContext.ValidationOptions.set -> void
20+
Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo
21+
Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo.DisplayName.get -> string!
22+
Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo.HasValidatableType.get -> bool
23+
Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo.IsEnumerable.get -> bool
24+
Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo.IsNullable.get -> bool
25+
Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo.IsRequired.get -> bool
26+
Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo.Name.get -> string!
27+
Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo.ValidatableParameterInfo(string! name, string! displayName, bool isNullable, bool isRequired, bool hasValidatableType, bool isEnumerable) -> void
28+
Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo.Validate(object? value, Microsoft.AspNetCore.Http.Validation.ValidatableContext! context) -> System.Threading.Tasks.Task!
29+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo
30+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.DeclaringType.get -> System.Type!
31+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.DisplayName.get -> string!
32+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.HasValidatableType.get -> bool
33+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.IsEnumerable.get -> bool
34+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.IsNullable.get -> bool
35+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.IsRequired.get -> bool
36+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.Name.get -> string!
37+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.PropertyType.get -> System.Type!
38+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.ValidatablePropertyInfo(System.Type! declaringType, System.Type! propertyType, string! name, string! displayName, bool isEnumerable, bool isNullable, bool isRequired, bool hasValidatableType) -> void
39+
Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo.Validate(object! obj, Microsoft.AspNetCore.Http.Validation.ValidatableContext! context) -> System.Threading.Tasks.Task!
40+
Microsoft.AspNetCore.Http.Validation.ValidatableTypeAttribute
41+
Microsoft.AspNetCore.Http.Validation.ValidatableTypeAttribute.ValidatableTypeAttribute() -> void
1642
Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo
17-
Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo.Members.get -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Validation.ValidatableMember!>!
43+
Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo.IsIValidatableObject.get -> bool
44+
Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo.Members.get -> System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo!>!
1845
Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo.Type.get -> System.Type!
19-
Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo.ValidatableTypeInfo(System.Type! type, System.Collections.Generic.IEnumerable<Microsoft.AspNetCore.Http.Validation.ValidatableMember!>! members) -> void
46+
Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo.ValidatableSubTypes.get -> System.Collections.Generic.IReadOnlyList<System.Type!>?
47+
Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo.ValidatableTypeInfo(System.Type! type, System.Collections.Generic.IReadOnlyList<Microsoft.AspNetCore.Http.Validation.ValidatablePropertyInfo!>! members, bool implementsIValidatableObject, System.Collections.Generic.IReadOnlyList<System.Type!>? validatableSubTypes = null) -> void
48+
Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo.Validate(object? value, Microsoft.AspNetCore.Http.Validation.ValidatableContext! context) -> System.Threading.Tasks.Task!
49+
Microsoft.AspNetCore.Http.Validation.ValidationOptions
50+
Microsoft.AspNetCore.Http.Validation.ValidationOptions.MaxDepth.get -> int
51+
Microsoft.AspNetCore.Http.Validation.ValidationOptions.MaxDepth.set -> void
52+
Microsoft.AspNetCore.Http.Validation.ValidationOptions.Resolvers.get -> System.Collections.Generic.IList<Microsoft.AspNetCore.Http.Validation.IValidatableInfoResolver!>!
53+
Microsoft.AspNetCore.Http.Validation.ValidationOptions.TryGetValidatableParameterInfo(System.Reflection.ParameterInfo! parameterInfo, out Microsoft.AspNetCore.Http.Validation.ValidatableParameterInfo? validatableParameterInfo) -> bool
54+
Microsoft.AspNetCore.Http.Validation.ValidationOptions.TryGetValidatableTypeInfo(System.Type! type, out Microsoft.AspNetCore.Http.Validation.ValidatableTypeInfo? validatableTypeInfo) -> bool
55+
Microsoft.AspNetCore.Http.Validation.ValidationOptions.ValidationOptions() -> void
2056
Microsoft.Extensions.DependencyInjection.ValidationServiceCollectionExtensions
21-
static Microsoft.Extensions.DependencyInjection.ValidationServiceCollectionExtensions.AddValidation(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services) -> Microsoft.Extensions.DependencyInjection.IServiceCollection!
57+
static Microsoft.Extensions.DependencyInjection.ValidationServiceCollectionExtensions.AddValidation(this Microsoft.Extensions.DependencyInjection.IServiceCollection! services, System.Action<Microsoft.AspNetCore.Http.Validation.ValidationOptions!>? configureOptions = null) -> Microsoft.Extensions.DependencyInjection.IServiceCollection!

0 commit comments

Comments
 (0)