Skip to content

Commit

Permalink
Remove dead code
Browse files Browse the repository at this point in the history
  • Loading branch information
viceroypenguin committed Nov 19, 2024
1 parent db9a7a8 commit b84cefb
Showing 1 changed file with 0 additions and 14 deletions.
14 changes: 0 additions & 14 deletions src/Plaid.OpenApiParser/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -699,20 +699,6 @@ private static string GetTemplate(string templateName)
return reader.ReadToEnd();
}

private static bool IsEnum(OpenApiSchema schema)
{
if (schema.Enum is { Count: > 0 })
return true;

foreach (var s in schema.AllOf)
{
if (IsEnum(s))
return true;
}

return false;
}

private static IList<IOpenApiAny> GetEnumValues(OpenApiSchema schema)
{
if (schema.Enum is not null)
Expand Down

0 comments on commit b84cefb

Please sign in to comment.