Skip to content

Commit

Permalink
Add properties field in oas parser if properties entry is present (#1554
Browse files Browse the repository at this point in the history
)
  • Loading branch information
pope1838 authored and looseale committed Aug 23, 2022
1 parent 79a66e0 commit ac64fe0
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ case class InlineOasTypeParser(
}
} getOrElse { (virtual(), inferred()) }

if (properties.nonEmpty)
if (properties.nonEmpty || propertiesEntry.nonEmpty)
shape.setWithoutId(
NodeShapeModel.Properties,
AmfArray(properties.values.toSeq, propertiesAnnotations),
Expand Down

0 comments on commit ac64fe0

Please sign in to comment.