@@ -60,138 +57,134 @@ exports[`Expanded depth nested object static given initial level set to 0, shoul
`;
exports[`Expanded depth nested object static given initial level set to 1, should render top 3 levels 1`] = `
-"
-
-
+"
+
+
-
- object
-
{2}
+
+
object
+
-
-
-
-
-
+
+
-
-
bar
- object
-
{3}
+
+
+
bar
+ object
+
+
-
-
-
-
-
+
+
-
-
barFoo
- object
-
{1}
+
+
+
barFoo
+ object
+
+
-
-
-
-
-
+
+
-
barBar
- string
+
+
barBar
+ string
+
+
-
-
-
-
-
+
+
-
barBaz
- boolean
+
+
barBaz
+ boolean
+
+
-
-
-
-
-
+
+
-
-
foo
- array[object]
-
{2}
+
+
+
foo
+ array of objects
+
+
-
-
-
-
-
+
+
-
fooBar
- string
+
+
fooBar
+ string
+
+
-
-
-
-
-
+
+
-
fooFoo
- number
+
+
fooFoo
+ number
+
+
-
@@ -203,155 +196,151 @@ exports[`Expanded depth nested object static given initial level set to 1, shoul
`;
exports[`Expanded depth nested object static given initial level set to 2, should render top 4 levels 1`] = `
-"
-
-
+"
+
+
-
- object
-
{2}
+
+
object
+
-
-
-
-
-
+
+
-
-
bar
- object
-
{3}
+
+
+
bar
+ object
+
+
-
-
-
-
-
+
+
-
-
barFoo
- object
-
{1}
+
+
+
barFoo
+ object
+
+
-
-
-
-
-
+
+
-
barFooBar
- object
+
+
barFooBar
+ object
+
+
-
-
-
-
-
+
+
-
barBar
- string
+
+
barBar
+ string
+
+
-
-
-
-
-
+
+
-
barBaz
- boolean
+
+
barBaz
+ boolean
+
+
-
-
-
-
-
+
+
-
-
foo
- array[object]
-
{2}
+
+
+
foo
+ array of objects
+
+
-
-
-
-
-
+
+
-
fooBar
- string
+
+
fooBar
+ string
+
+
-
-
-
-
-
+
+
-
fooFoo
- number
+
+
fooFoo
+ number
+
+
-
@@ -363,214 +352,144 @@ exports[`Expanded depth nested object static given initial level set to 2, shoul
`;
exports[`HTML Output given anyOf combiner placed next to allOf given allOf merging enabled, should merge contents of allOf combiners 1`] = `
-"
-
-
+"
+
+
-
-
- anyOf
-
{2}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- Admin
-
{5}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
type
- string
-
- required
-
-
-
- Allowed values:
- \\"admin\\"
- \\"editor\\"
-
-
-
-
-
-
-
-
-
-
-
-
enabled
- boolean
-
-
-
Is this account enabled
-
-
-
-
-
-
-
-
-
-
-
-
-
root
- boolean
-
+
+
+
+
+
+
+
+
+
-
-
-
+
+
+
+
+
+
-
-
group
- string
-
+
type
+ string
+ required
-
-
-
-
-
-
-
-
-
-
expirationDate
- string
-
-
-
+ Allowed values:
+ \\"admin\\"
+ \\"editor\\"
-
+
-
-
-
-
+
+
-
-
-
-
and/or
-
- Editor
-
{4}
-
-
-
-
-
-
-
-
-
-
type
- string
-
- required
+
enabled
+ boolean
-
- Allowed values:
- \\"admin\\"
- \\"editor\\"
-
+
Is this account enabled
-
+
-
-
+
+
+
+
-
-
enabled
- boolean
-
+
root
+ boolean
-
Is this account enabled
-
+
-
-
+
+
+
+
-
-
supervisor
- string
-
+
group
+ string
-
+
-
-
+
+
+
+
-
-
key
- string
-
+
expirationDate
+ string
-
+
@@ -581,48 +500,57 @@ exports[`HTML Output given anyOf combiner placed next to allOf given allOf mergi
`;
exports[`HTML Output given array with oneOf containing items, should merge it correctly 1`] = `
-"
-
-
+"
+
+
-
-
-
-
- oneOf
-
{2}
-
-
-
-
-
-
-
-
-
-
-
-
-
array[string]
-
-
-
-
-
-
-
-
-
or
-
array[number]
+
+
+
+
+
+
+
+
+
-
+
@@ -631,48 +559,47 @@ exports[`HTML Output given array with oneOf containing items, should merge it co
`;
exports[`HTML Output given complex type that includes array and complex array subtype, should not ignore subtype 1`] = `
-"
-
-
+"
+
+
-
- object
-
{1}
+
+
object
+
-
-
-
-
-
+
+
-
items
- null
- or
- array[string,number]
+
items
+
+ null
+ or
+ array of strings/numbers
+
-
-
-
- This description can be long and should truncate once it reaches the end of the row. If it's not
- truncating then theres and issue that needs to be fixed. Help!
+
+
+ This description can be long and should truncate once it reaches the end of the row. If it's not
+ truncating then theres and issue that needs to be fixed. Help!
+
+
-
@@ -682,40 +609,41 @@ exports[`HTML Output given complex type that includes array and complex array su
`;
exports[`HTML Output given multiple object and string type, should process properties 1`] = `
-"
-
-
+"
+
+
-
+
- string
- or
- object
+
+ string
+ or
+ object
+
-
{1}
+
-
-
-
-
-
+
+
-
ids
- array[integer]
+
+
ids
+ array of integers
+
+
-
@@ -725,214 +653,144 @@ exports[`HTML Output given multiple object and string type, should process prope
`;
exports[`HTML Output given oneOf combiner placed next to allOf given allOf merging enabled, should merge contents of allOf combiners 1`] = `
-"
-
-
+"
+
+
-
- oneOf
-
{2}
+
+
+
+
+
+
+
+
+
+
+
+
+
-
-
-
-
-
+
+
-
- Admin
-
{5}
+
+
type
+ string
+
+ required
+
+ Allowed values:
+ \\"admin\\"
+ \\"editor\\"
+
+
-
-
-
+
+
+
-
-
type
- string
-
- required
-
-
-
- Allowed values:
- \\"admin\\"
- \\"editor\\"
-
-
-
-
-
-
-
-
-
-
-
-
-
enabled
- boolean
-
-
-
Is this account enabled
-
-
-
-
-
-
-
-
-
-
-
-
-
root
- boolean
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
group
- string
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
expirationDate
- string
-
+
enabled
+ boolean
+
Is this account enabled
-
+
-
-
-
-
+
+
-
-
-
-
or
-
- Editor
-
{4}
-
-
-
-
-
-
-
-
-
-
-
-
-
-
type
- string
-
- required
-
-
-
- Allowed values:
- \\"admin\\"
- \\"editor\\"
-
-
-
-
-
-
-
-
-
enabled
- boolean
-
+
root
+ boolean
-
Is this account enabled
-
+
-
-
+
+
+
+
-
-
supervisor
- string
-
+
group
+ string
-
+
-
-
+
+
+
+
-
-
key
- string
-
+
expirationDate
+ string
-
+
@@ -943,40 +801,41 @@ exports[`HTML Output given oneOf combiner placed next to allOf given allOf mergi
`;
exports[`HTML Output given read mode, should populate proper nodes 1`] = `
-"
-
-
+"
+
+
-
+
- string
- or
- object
+
+ string
+ or
+ object
+
-
{1}
+
-
-
-
-
-
+
+
-
id
- string
+
+
id
+ string
+
+
-
@@ -986,58 +845,59 @@ exports[`HTML Output given read mode, should populate proper nodes 1`] = `
`;
exports[`HTML Output given standalone mode, should populate proper nodes 1`] = `
-"
-
-
+"
+
+
-
+
- string
- or
- object
+
+ string
+ or
+ object
+
-
{2}
+
-
-
-
-
-
+
+
-
id
- string
+
+
id
+ string
+
+ read-only
- read-only
+
-
-
-
-
-
+
+
-
description
- string
+
+
description
+ string
+
+ write-only
- write-only
+
-
@@ -1047,73 +907,70 @@ exports[`HTML Output given standalone mode, should populate proper nodes 1`] = `
`;
exports[`HTML Output given visible $ref node, should try to inject the title immediately 1`] = `
-"
-
-
+"
+
+
-
- object
-
{2}
+
+
object
+
-
-
-
-
-
+
+
-
-
foo
- User
-
{1}
+
+
+
foo
+ User
+
+
-
-
-
-
-
+
+
-
name
- string
+
+
name
+ string
+
+
-
-
-
-
-
+
+
-
-
user
- User
-
{1}
+
+
+
user
+ User
+
+
-
@@ -1123,40 +980,41 @@ exports[`HTML Output given visible $ref node, should try to inject the title imm
`;
exports[`HTML Output given write mode, should populate proper nodes 1`] = `
-"
-
-
+"
+
+
-
+
- string
- or
- object
+
+ string
+ or
+ object
+
-
{1}
+
-
-
-
-
-
+
+
-
description
- string
+
+
description
+ string
+
+
-
@@ -1166,69 +1024,67 @@ exports[`HTML Output given write mode, should populate proper nodes 1`] = `
`;
exports[`HTML Output should match arrays/of-allofs.json 1`] = `
-"
-
-
+"
+
+
-
- Test
-
{1}
+
+
Test
+
-
-
-
-
-
+
+
-
-
array-all-objects
- array[object]
-
{2}
+
+
+
array-all-objects
+ array of objects
+
+
-
-
-
-
-
+
+
-
foo
- string
+
+
foo
+ string
+
+
-
-
-
-
-
+
+
-
bar
- string
+
+
bar
+ string
+
+
-
@@ -1240,52 +1096,51 @@ exports[`HTML Output should match arrays/of-allofs.json 1`] = `
`;
exports[`HTML Output should match arrays/of-arrays.json 1`] = `
-"
-
-
+"
+
+
-
- array[object]
-
{2}
+
+
array of objects
+
-
-
-
-
-
+
+
-
bar
- integer
+
+
bar
+ integer
+
+
-
-
-
-
-
+
+
-
foo
- array[array]
+
+
foo
+ array of arrays
+
+
-
@@ -1295,53 +1150,51 @@ exports[`HTML Output should match arrays/of-arrays.json 1`] = `
`;
exports[`HTML Output should match arrays/of-objects.json 1`] = `
-"
-
-
+"
+
+
-
- object
-
{1}
+
+
object
+
-
-
-
-
-
+
+
-
-
propertyIsArrayOfObjects
- array[object]
-
{1}
+
+
+
propertyIsArrayOfObjects
+ array of objects
+
+
-
-
-
-
-
+
+
-
ArrayObjectProperty
- string
+
+
ArrayObjectProperty
+ string
+
+
-
@@ -1353,33 +1206,32 @@ exports[`HTML Output should match arrays/of-objects.json 1`] = `
`;
exports[`HTML Output should match arrays/of-refs.json 1`] = `
-"
-
-
+"
+
+
-
- $ref(./models/todo-full.json)[]
-
{1}
+
+
$ref(./models/todo-full.json)[]
+
-
-
-
-
-
+
+
-
./models/todo-full.json
+
+
./models/todo-full.json
+
+
-
@@ -1389,99 +1241,95 @@ exports[`HTML Output should match arrays/of-refs.json 1`] = `
`;
exports[`HTML Output should match arrays/with-multiple-arrayish-items.json 1`] = `
-"
-
-
+"
+
+
-
- array
-
{2}
+
+
array
+
-
-
-
-
-
+
+
-
number
+
+
number
+
+
-
-
-
-
-
+
+
-
- object
-
{3}
+
+
object
+
-
-
-
-
-
+
+
-
code
- number
+
+
code
+ number
+
+ required
- required
+
-
-
-
-
-
+
+
-
msg
- string
+
+
msg
+ string
+
+ required
- required
+
-
-
-
-
-
+
+
-
ref
- string
+
+
ref
+ string
+
+
-
@@ -1493,46 +1341,45 @@ exports[`HTML Output should match arrays/with-multiple-arrayish-items.json 1`] =
`;
exports[`HTML Output should match arrays/with-ordered-items.json 1`] = `
-"
-
-
+"
+
+
-
- array
-
{2}
+
+
array
+
-
-
-
-
-
+
+
-
number
+
+
number
+
+
-
-
-
-
-
+
+
-
string
+
+
string
+
+
-
@@ -1542,70 +1389,69 @@ exports[`HTML Output should match arrays/with-ordered-items.json 1`] = `
`;
exports[`HTML Output should match arrays/with-single-arrayish-items.json 1`] = `
-"
-
-
+"
+
+
-
- array[object]
-
{3}
+
+
array of objects
+
-
-
-
-
-
+
+
-
code
- number
+
+
code
+ number
+
+ required
- required
+
-
-
-
-
-
+
+
-
msg
- string
+
+
msg
+ string
+
+ required
- required
+
-
-
-
-
-
+
+
-
ref
- string
+
+
ref
+ string
+
+
-
@@ -1615,233 +1461,229 @@ exports[`HTML Output should match arrays/with-single-arrayish-items.json 1`] = `
`;
exports[`HTML Output should match combiners/allOfs/base.json 1`] = `
-"
-
-
+"
+
+
-
- object
-
{5}
+
+
object
+
-
-
-
-
-
+
+
-
-
AllOfMergeObjects
- object
-
{2}
+
+
+
AllOfMergeObjects
+ object
+
+
-
-
-
-
-
+
+
-
Object1Property
- string
+
+
Object1Property
+ string
+
+
>= 1 characters
-
>= 1 characters
+
-
-
-
-
-
+
+
-
Object2Property
- number
+
+
Object2Property
+ number
+
+
<= 2
-
<= 2
+
-
-
-
-
-
+
+
-
AllOfMergeValidations
- string
+
+
AllOfMergeValidations
+ string
+
+
+ >= 1 characters
+ <= 2 characters
+
-
- >= 1 characters
- <= 2 characters
-
+
-
-
-
-
-
+
+
-
AllOfMergeTakeMoreLogicalValidation
- number
+
+
AllOfMergeTakeMoreLogicalValidation
+ number
+
+
<= 1
-
<= 1
+
-
-
-
-
-
+
+
-
-
AllOfMergeObjectPropertyValidations
- object
-
{1}
+
+
+
AllOfMergeObjectPropertyValidations
+ object
+
+
-
-
-
-
-
+
+
-
Property
- string
+
+
Property
+ string
+
+
+ >= 1 characters
+ <= 2 characters
+
-
- >= 1 characters
- <= 2 characters
-
+
-
-
-
-
-
+
+
-
-
AllOfMergeRefs
- object
-
{4}
+
+
+
AllOfMergeRefs
+ object
+
+
-
-
-
-
-
+
+
-
street_address
- string
+
+
street_address
+ string
+
+ required
- required
+
-
-
-
-
-
+
+
-
city
- string
+
+
city
+ string
+
+ required
- required
+
-
-
-
-
-
+
+
-
state
- string
+
+
state
+ string
+
+ required
- required
+
-
-
-
-
-
+
+
-
zipCode
- string
+
+
zipCode
+ string
+
+
-
@@ -1853,330 +1695,310 @@ exports[`HTML Output should match combiners/allOfs/base.json 1`] = `
`;
exports[`HTML Output should match combiners/allOfs/complex.json 1`] = `
-"