Skip to content

Commit

Permalink
Display property title
Browse files Browse the repository at this point in the history
  • Loading branch information
dblanchette committed Dec 18, 2023
1 parent c020cb4 commit 478b401
Show file tree
Hide file tree
Showing 79 changed files with 237 additions and 235 deletions.
4 changes: 2 additions & 2 deletions docs/examples/examples_js_default/Configuration.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>JSON Schema for Humans configuration file</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>JSON Schema for Humans configuration file</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>JSON Schema for Humans configuration file</h1><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="description collapse" id="collapseDescription_root">
<p>Choose how to generate JSON Schema for Humans documentation file.</p>

Expand Down
4 changes: 2 additions & 2 deletions docs/examples/examples_js_default/additional_properties.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Person</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Person</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Person</h1><span class="badge badge-dark value-type">Type: object</span><br/>



Expand Down
6 changes: 3 additions & 3 deletions docs/examples/examples_js_default/array_additionalItems.html
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ <h5>Item at 1 must be:</h5>
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#address_items_i0" onclick="anchorLink('address_items_i0')">a number</a></div><span class="badge badge-dark value-type">Type: number</span><br/>
<a href="#address_items_i0" onclick="anchorLink('address_items_i0')">a number</a></div><h4>a number</h4><span class="badge badge-dark value-type">Type: number</span><br/>



Expand Down Expand Up @@ -137,7 +137,7 @@ <h5>Item at 3 must be:</h5>
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#address_items_i2" onclick="anchorLink('address_items_i2')">again a string</a></div><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
<a href="#address_items_i2" onclick="anchorLink('address_items_i2')">again a string</a></div><h4>again a string</h4><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
<div class="enum-value" id="address_items_i2_enum">
<h4>Must be one of:</h4>
<ul class="list-group"><li class="list-group-item enum-item">"Street"</li><li class="list-group-item enum-item">"Avenue"</li><li class="list-group-item enum-item">"Boulevard"</li></ul>
Expand Down Expand Up @@ -170,7 +170,7 @@ <h5>Item at 4 must be:</h5>
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#address_items_i3" onclick="anchorLink('address_items_i3')">finally an enum</a></div><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
<a href="#address_items_i3" onclick="anchorLink('address_items_i3')">finally an enum</a></div><h4>finally an enum</h4><span class="badge badge-dark value-type">Type: enum (of string)</span><br/>
<div class="enum-value" id="address_items_i3_enum">
<h4>Must be one of:</h4>
<ul class="list-group"><li class="list-group-item enum-item">"NW"</li><li class="list-group-item enum-item">"NE"</li><li class="list-group-item enum-item">"SW"</li><li class="list-group-item enum-item">"SE"</li></ul>
Expand Down
14 changes: 7 additions & 7 deletions docs/examples/examples_js_default/basic.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Person</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Person</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Person</h1><span class="badge badge-dark value-type">Type: object</span><br/>



Expand Down Expand Up @@ -49,7 +49,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#firstName" onclick="anchorLink('firstName')">firstName</a></div><span class="badge badge-dark value-type">Type: string</span><br/>
<a href="#firstName" onclick="anchorLink('firstName')">firstName</a></div><h4>Person</h4><span class="badge badge-dark value-type">Type: string</span><br/>
<span class="description"><p>The person's first name.</p>
</span>

Expand Down Expand Up @@ -83,7 +83,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#lastName" onclick="anchorLink('lastName')">lastName</a></div><span class="badge badge-dark value-type">Type: string</span><br/>
<a href="#lastName" onclick="anchorLink('lastName')">lastName</a></div><h4>Person</h4><span class="badge badge-dark value-type">Type: string</span><br/>
<span class="description"><p>The person's last name.</p>
</span>

Expand Down Expand Up @@ -117,7 +117,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#age" onclick="anchorLink('age')">age</a></div><span class="badge badge-dark value-type">Type: integer</span><br/>
<a href="#age" onclick="anchorLink('age')">age</a></div><h4>Person</h4><span class="badge badge-dark value-type">Type: integer</span><br/>
<span class="description"><p>Age in years which must be equal to or greater than zero.</p>
</span>

Expand Down Expand Up @@ -190,7 +190,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#driverLicenseId_allOf_i0" onclick="anchorLink('driverLicenseId_allOf_i0')">no driver licence</a></div><span class="badge badge-dark value-type">Type: null</span><br/>
<a href="#driverLicenseId_allOf_i0" onclick="anchorLink('driverLicenseId_allOf_i0')">no driver licence</a></div><h4>no driver licence</h4><span class="badge badge-dark value-type">Type: null</span><br/>



Expand Down Expand Up @@ -223,7 +223,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#driverLicenseId_allOf_i1" onclick="anchorLink('driverLicenseId_allOf_i1')">driver licence id</a></div><span class="badge badge-dark value-type">Type: string</span><br/>
<a href="#driverLicenseId_allOf_i1" onclick="anchorLink('driverLicenseId_allOf_i1')">driver licence id</a></div><h4>driver licence id</h4><span class="badge badge-dark value-type">Type: string</span><br/>



Expand Down
4 changes: 2 additions & 2 deletions docs/examples/examples_js_default/break_on_newline.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Hello</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Hello</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Hello</h1><span class="badge badge-dark value-type">Type: object</span><br/>



Expand Down
6 changes: 3 additions & 3 deletions docs/examples/examples_js_default/broken_ref.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Person</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Person</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Person</h1><span class="badge badge-dark value-type">Type: object</span><br/>



Expand Down Expand Up @@ -49,7 +49,7 @@ <h2 class="mb-0">
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#firstName" onclick="anchorLink('firstName')">firstName</a></div><span class="badge badge-dark value-type">Type: string</span><br/>
<a href="#firstName" onclick="anchorLink('firstName')">firstName</a></div><h4>Person</h4><span class="badge badge-dark value-type">Type: string</span><br/>
<span class="description"><p>The person's first name.</p>
</span>

Expand Down
4 changes: 2 additions & 2 deletions docs/examples/examples_js_default/circular.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Circular reference Schema</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Circular reference Schema</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Circular reference Schema</h1><span class="badge badge-dark value-type">Type: object</span><br/>



Expand Down
6 changes: 3 additions & 3 deletions docs/examples/examples_js_default/complex_const.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#oneOf_i0" onclick="anchorLink('oneOf_i0')">1st constant</a></div><span class="badge badge-dark value-type">Type: const</span><br/>
<a href="#oneOf_i0" onclick="anchorLink('oneOf_i0')">1st constant</a></div><h4>1st constant</h4><span class="badge badge-dark value-type">Type: const</span><br/>
<span class="const-value" id="oneOf_i0_const">Specific value: <code>[
1,
2
Expand Down Expand Up @@ -84,7 +84,7 @@
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#oneOf_i1" onclick="anchorLink('oneOf_i1')">2nd constant</a></div><span class="badge badge-dark value-type">Type: const</span><br/>
<a href="#oneOf_i1" onclick="anchorLink('oneOf_i1')">2nd constant</a></div><h4>2nd constant</h4><span class="badge badge-dark value-type">Type: const</span><br/>
<span class="const-value" id="oneOf_i1_const">Specific value: <code>{
"a_key": "a_value",
"another_key": "another_value"
Expand Down Expand Up @@ -113,7 +113,7 @@
d="M4 8a.5.5 0 0 1 .5-.5h5.793L8.146 5.354a.5.5 0 1 1 .708-.708l3 3a.5.5 0 0 1 0 .708l-3 3a.5.5 0 0 1-.708-.708L10.293 8.5H4.5A.5.5 0 0 1 4 8z"
/>
</svg>
<a href="#oneOf_i2" onclick="anchorLink('oneOf_i2')">0</a></div><span class="badge badge-dark value-type">Type: const</span><br/>
<a href="#oneOf_i2" onclick="anchorLink('oneOf_i2')">0</a></div><h4>0</h4><span class="badge badge-dark value-type">Type: const</span><br/>
<span class="const-value" id="oneOf_i2_const">Specific value: <code>0</code></span>


Expand Down
4 changes: 2 additions & 2 deletions docs/examples/examples_js_default/description_markdown.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Delivery Schema</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Delivery Schema</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Delivery Schema</h1><span class="badge badge-dark value-type">Type: object</span><br/>
<span class="description"><p>DOC<br />
* List 1<br />
* List 2</p>
Expand Down
4 changes: 2 additions & 2 deletions docs/examples/examples_js_default/empty_property_name.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Empty property name</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Empty property name</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Empty property name</h1><span class="badge badge-dark value-type">Type: object</span><br/>



Expand Down
4 changes: 2 additions & 2 deletions docs/examples/examples_js_default/enumofnone.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Enum of None</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Enum of None</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Enum of None</h1><span class="badge badge-dark value-type">Type: object</span><br/>



Expand Down
4 changes: 2 additions & 2 deletions docs/examples/examples_js_default/geo.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Longitude and Latitude Values</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Longitude and Latitude Values</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Longitude and Latitude Values</h1><span class="badge badge-dark value-type">Type: object</span><br/>
<span class="description"><p>A geographical coordinate.</p>
</span>

Expand Down
4 changes: 2 additions & 2 deletions docs/examples/examples_js_default/long_description.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Long description</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Long description</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Long description</h1><span class="badge badge-dark value-type">Type: object</span><br/>



Expand Down
4 changes: 2 additions & 2 deletions docs/examples/examples_js_default/multiple_types.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,12 +15,12 @@

<title>Person</title>
</head>
<body onload="anchorOnLoad();" id="root"><h1>Person</h1><div class="text-right">
<body onload="anchorOnLoad();" id="root"><div class="text-right">
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse:not(.show)" aria-expanded="false">Expand all</button>
<button class="btn btn-primary" type="button" data-toggle="collapse" data-target=".collapse.show" aria-expanded="false">Collapse all</button>
</div>

<div class="breadcrumbs"></div><span class="badge badge-dark value-type">Type: object</span><br/>
<div class="breadcrumbs"></div> <h1>Person</h1><span class="badge badge-dark value-type">Type: object</span><br/>



Expand Down
Loading

0 comments on commit 478b401

Please sign in to comment.