You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(InnerChildElements.Values.OfType<CodeIndexer>().Any()||InnerChildElements.Values.OfType<CodeMethod>().Any(static x =>x.IsOfKind(CodeMethodKind.IndexerBackwardCompatibility)))
.Select(static x =>new{Parameter=x,IsPathParameter=true})
979
+
.Union(currentNode.PathItems[Constants.DefaultOpenApiLabel].Operations.SelectMany(static x =>x.Value.Parameters).Select(static x =>new{Parameter=x,IsPathParameter=false}))
Description=currentNode.GetPathItemDescription(Constants.DefaultOpenApiLabel,$"Gets an item from the {currentNode.GetNodeNamespaceFromPath(config.ClientNamespaceName)} collection"),
backCompatibleValue.Deprecation=newDeprecationInformation("This indexer is deprecated and will be removed in the next major version. Use the one with the typed parameter instead.");
currentIndexer.Deprecationis not null&¤tIndexer.Deprecation.IsDeprecated&&
703
+
(indexerParentClass.Methods.Any(x =>x.IsOfKind(CodeMethodKind.IndexerBackwardCompatibility)&&x.OriginalIndexeris not null&&IsIndexerTypeSpecificVersion(currentIndexer.IndexParameterName,x.OriginalIndexer))||
if(indexerParentClass.Methods.FirstOrDefault(x =>x.IsOfKind(CodeMethodKind.IndexerBackwardCompatibility)&&x.OriginalIndexeris not null&&IsIndexerTypeSpecificVersion(currentIndexer.IndexParameterName,x.OriginalIndexer))isCodeMethodtypeSpecificCompatibleMethod&&
708
+
typeSpecificCompatibleMethod.OriginalIndexeris not null)
0 commit comments