Skip to content

Commit

Permalink
Update src/Kiota.Builder/Writers/HTTP/CodeClassDeclarationWriter.cs
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 b3646b4 commit 0b40ad4
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions src/Kiota.Builder/Writers/HTTP/CodeClassDeclarationWriter.cs
Original file line number Diff line number Diff line change
Expand Up @@ -293,8 +293,6 @@ private static void WriteProperties(CodeClass requestBodyClass, LanguageWriter w
.Where(static prop => prop.IsOfKind(CodePropertyKind.Custom))
.ToArray();

var propertyCount = properties.Length;

foreach (var prop in properties)
{
// Add a trailing comma if there are more properties to be written
Expand Down

0 comments on commit 0b40ad4

Please sign in to comment.