Skip to content

Commit

Permalink
feat(ui): display primitive type info
Browse files Browse the repository at this point in the history
Feature request.
Only properties has info displayed

Refs #378
  • Loading branch information
aerfus committed Dec 31, 2023
1 parent 9b66309 commit 87533e7
Showing 1 changed file with 8 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -1,6 +1,14 @@
<!-- SPDX-License-Identifier: Apache-2.0 -->
<table class="schema">
<tbody>
<!-- Primitive types -->
<tr *ngIf="schema.type !== 'object'">
<ng-container
[ngTemplateOutlet]="valueContent"
[ngTemplateOutletContext]="{value:schema}">
</ng-container>
</tr>
<!-- Objects -->
<tr *ngFor="let property of schema?.properties | keyvalue">
<td class="key">
{{ property.key }}
Expand Down

0 comments on commit 87533e7

Please sign in to comment.