Skip to content

Commit

Permalink
Merge pull request #1556 from aml-org/cherry-als
Browse files Browse the repository at this point in the history
Add properties field in oas parser if properties entry is present (#1
  • Loading branch information
looseale authored Aug 23, 2022
2 parents 79a66e0 + ac64fe0 commit b09f77a
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 b09f77a

Please sign in to comment.