Skip to content

Commit

Permalink
plain-documentation: Hide anonymous inner schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
karlvr committed Jan 31, 2024
1 parent 37dfc58 commit 932f102
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 0 deletions.
7 changes: 7 additions & 0 deletions .changeset/fluffy-tips-decide.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@openapi-generator-plus/plain-documentation-generator": minor
---

Hide anonymous inner schemas

These should be display inline where they are referenced now.
2 changes: 2 additions & 0 deletions packages/plain-documentation/templates/model/object.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,7 @@
{{/if}}

{{#each schemas}}
{{#unless anonymous}}
{{>model/main-panel anchor=../anchor}}
{{/unless}}
{{/each}}

0 comments on commit 932f102

Please sign in to comment.