Open deiteris opened 3 years ago
I was able to fix this for my own purposes with the following changes: https://github.com/deiteris/api-type-document/commit/c2f095d4045eddc08e3b101d641824c7e5948fa3
I can either create a PR if these changes are sufficient, or it may give you a better idea of how it will be better to be fixed.
When a JSON schema object combines two properties using
allOf
, the API console doesn't show any declared properties of the type.The following RAML reproduces the issue:
And results in the following graph: https://pastebin.com/Eysrm4S1
I assume this happens because
shacl:and
is not taken into account, whileshacl:property
is empty in this case.