Skip to content

Commit 658c301

Browse files
committed
address PR comments
1 parent 6bb6c4c commit 658c301

File tree

3 files changed

+3
-8
lines changed

3 files changed

+3
-8
lines changed

src/CodeGeneration/ApiGenerator/Domain/Specification/UrlInformation.cs

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,11 +40,6 @@ public IReadOnlyCollection<UrlPath> PathsWithDeprecations
4040
{
4141
get
4242
{
43-
if (Paths.Any(p => p.Path.Contains("plugins")))
44-
{
45-
46-
}
47-
4843
if (_pathsWithDeprecation != null && _pathsWithDeprecation.Count > 0) return _pathsWithDeprecation;
4944

5045
var paths = Paths ?? new UrlPath[] {};

src/CodeGeneration/ApiGenerator/Domain/Specification/UrlPart.cs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,8 +26,8 @@ public string LowLevelTypeName
2626
//TODO treat list with fixed options as Flags Enum
2727
switch (Type)
2828
{
29-
case "int": //last i checked does not occur on part
30-
case "number": //last i checked does not occur on part
29+
case "int": //does not occur on part
30+
case "number": //does not occur on part
3131
case "string":
3232
return Type;
3333
case "list":

src/CodeGeneration/ApiGenerator/Views/LowLevel/Client/Methods/MethodDocs.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,5 +18,5 @@
1818
///@Raw(@"<param name=""requestParameters"">Request specific configuration such as querystring parameters &amp; request specific connection settings.</param>")
1919
@if (method.DeprecatedPath != null)
2020
{
21-
<text> [Obsolete("Deprecated as of @(method.DeprecatedPath.Version): @Raw(method.DeprecatedPath.Description)")]
21+
<text> [Obsolete("Deprecated in version @(method.DeprecatedPath.Version): @Raw(method.DeprecatedPath.Description)")]
2222
</text>}

0 commit comments

Comments
 (0)