diff --git a/ApiDoctor.Validation/CodeBlockAnnotation.cs b/ApiDoctor.Validation/CodeBlockAnnotation.cs index 2e814540..316b120e 100644 --- a/ApiDoctor.Validation/CodeBlockAnnotation.cs +++ b/ApiDoctor.Validation/CodeBlockAnnotation.cs @@ -201,7 +201,7 @@ public string ResourceType /// /// Indicates that a resource is extensible with additional properties that - /// may not be defined in the documtnation. + /// may not be defined in the documentation. /// [JsonProperty("openType")] public bool IsOpenType { get; set; } diff --git a/ApiDoctor.Validation/DocSet.cs b/ApiDoctor.Validation/DocSet.cs index 83dcecb2..664b07f5 100644 --- a/ApiDoctor.Validation/DocSet.cs +++ b/ApiDoctor.Validation/DocSet.cs @@ -419,7 +419,7 @@ public bool ScanDocumentation(string tags, IssueLogger issues) } // if parameter does not have a description, then it's from the resource JSON definition - if (string.IsNullOrEmpty(param.Description) && !param.Name.Contains('@')) + if (string.IsNullOrEmpty(param.Description) && !param.Name.Contains('@') && !resource.OriginalMetadata.IsOpenType) { if (string.IsNullOrWhiteSpace(resource.BaseType) || !resource.ResolvedBaseTypeReference.HasOrInheritsProperty(param.Name)) {