Skip to content

Commit 96a32ea

Browse files
lancehilliardcommonsensesoftware
authored andcommitted
correct ApiVersionDescription.IsDeprecated docs
When some API versions are partially deprecated, IsDeprecated returns false (not true).
1 parent fdbf810 commit 96a32ea

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/Microsoft.AspNetCore.Mvc.Versioning.ApiExplorer/ApiVersionDescription.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,8 +39,8 @@ public ApiVersionDescription( ApiVersion apiVersion, string groupName, bool depr
3939
/// <remarks>An API version will only be described as deprecated when all
4040
/// all corresponding service implementations are also deprecated. It is
4141
/// possible that some API versions may be partially deprecated, in which
42-
/// case this property will return <c>true</c>, but individual actions
42+
/// case this property will return <c>false</c>, but individual actions
4343
/// may report that they are deprecated.</remarks>
4444
public bool IsDeprecated { get; }
4545
}
46-
}
46+
}

0 commit comments

Comments
 (0)