Skip to content

Commit

Permalink
Remove unused method
Browse files Browse the repository at this point in the history
Co-authored-by: Andrew Omondi <[email protected]>
  • Loading branch information
Onokaev and andrueastman authored Jan 22, 2025
1 parent 326ad1a commit b3646b4
Showing 1 changed file with 0 additions and 16 deletions.
16 changes: 0 additions & 16 deletions src/Kiota.Builder/Writers/HTTP/CodeClassDeclarationWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -118,22 +118,6 @@ private static CodeProperty[] GetPathParameters(CodeClass requestBuilderClass)
.FirstOrDefault(static property => property.IsOfKind(CodePropertyKind.UrlTemplate));
}

/// <summary>
/// Writes the URL template for the given URL template property to the writer.
/// </summary>
/// <param name="urlTemplateProperty">The URL template property containing the URL template.</param>
/// <param name="writer">The language writer to write the URL template to.</param>
private static void WriteUrlTemplate(CodeProperty urlTemplateProperty, LanguageWriter writer)
{
// Write the URL template documentation as a comment
writer.WriteLine($"# {urlTemplateProperty.Documentation?.DescriptionTemplate}");

// Write the URL template value
writer.WriteLine($"# {urlTemplateProperty.DefaultValue}");

// Write an empty line for separation
writer.WriteLine();
}

/// <summary>
/// Writes the path parameters for the given request builder class to the writer.
Expand Down

0 comments on commit b3646b4

Please sign in to comment.