Skip to content

Commit

Permalink
Remove unused function
Browse files Browse the repository at this point in the history
  • Loading branch information
crobibero committed Feb 26, 2024
1 parent fc343df commit b347f7a
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions src/Kiota.Builder/Extensions/OpenApiSchemaExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -47,14 +47,6 @@ public static string GetSchemaName(this OpenApiSchema schema)
return schema.GetSchemaNames().LastOrDefault()?.TrimStart('$') ?? string.Empty;// OData $ref
}

public static OpenApiSchema? GetSchema(this OpenApiSchema schema)
{
if (schema is null)
return null;

return schema.IsArray() ? schema.Items : schema;
}

public static bool IsReferencedSchema(this OpenApiSchema schema)
{
var isReference = schema?.Reference != null;
Expand Down

0 comments on commit b347f7a

Please sign in to comment.