Skip to content

Commit

Permalink
Show resources information (in oneOf)
Browse files Browse the repository at this point in the history
  • Loading branch information
peterdesmet committed Feb 8, 2023
1 parent d180019 commit b7c4741
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions _layouts/profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,9 @@ <h2 id="{{ p1_id }}">
{% elsif p1.items.properties %}
{% assign properties2 = p1.items.properties %}
{% assign required2 = p1.items.required %}
{% elsif p1.items.oneOf[0].properties %}
{% assign properties2 = p1.items.oneOf[0].properties %}
{% assign required2 = p1.items.oneOf[0].required %}
{% else %}
{% assign properties2 = false %}
{% endif %}
Expand Down

0 comments on commit b7c4741

Please sign in to comment.