Skip to content

Commit

Permalink
format
Browse files Browse the repository at this point in the history
  • Loading branch information
Andrew Omondi committed May 28, 2024
1 parent 4977588 commit 79048dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Kiota.Builder/KiotaBuilder.cs
Original file line number Diff line number Diff line change
Expand Up @@ -1816,7 +1816,7 @@ private CodeElement AddModelDeclarationIfDoesntExist(OpenApiUrlTreeNode currentN
if (AddEnumDeclaration(currentNode, schema, declarationName, currentNamespace) is CodeEnum enumDeclaration)
return enumDeclaration;

if (schema.IsIntersection() && schema.MergeIntersectionSchemaEntries() is {} mergedSchema &&
if (schema.IsIntersection() && schema.MergeIntersectionSchemaEntries() is { } mergedSchema &&
AddModelDeclarationIfDoesntExist(currentNode, currentOperation, mergedSchema, declarationName, currentNamespace, inheritsFrom) is CodeClass createdClass)
{
// multiple allOf entries that do not translate to inheritance
Expand Down

0 comments on commit 79048dc

Please sign in to comment.