@@ -46,122 +48,124 @@ 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`] = `
-"
-
-
-
-
+"
+
+
+
+
-
-
bar
- object
+
+
+
bar
+ object
+
+
-
-
-
-
+
-
-
barFoo
- object
+
+
+
barFoo
+ object
+
+
-
-
-
-
+
-
barBar
- string
+
+
barBar
+ string
+
+
-
-
-
-
+
-
barBaz
- boolean
+
+
barBaz
+ boolean
+
+
-
-
-
-
+
-
-
foo
- array of objects
+
+
+
foo
+ array of objects
+
+
-
-
-
-
+
-
fooBar
- string
+
+
fooBar
+ string
+
+
-
-
-
-
+
-
fooFoo
- number
+
+
fooFoo
+ number
+
+
-
@@ -174,139 +178,141 @@ 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`] = `
-"
-
-
-
-
+"
+
+
+
+
-
-
bar
- object
+
+
+
bar
+ object
+
+
-
-
-
-
+
-
-
barFoo
- object
+
+
+
barFoo
+ object
+
+
-
-
-
-
+
-
barFooBar
- object
+
+
barFooBar
+ object
+
+
-
-
-
-
+
-
barBar
- string
+
+
barBar
+ string
+
+
-
-
-
-
+
-
barBaz
- boolean
+
+
barBaz
+ boolean
+
+
-
-
-
-
+
-
-
foo
- array of objects
+
+
+
foo
+ array of objects
+
+
-
-
-
-
+
-
fooBar
- string
+
+
fooBar
+ string
+
+
-
-
-
-
+
-
fooFoo
- number
+
+
fooFoo
+ number
+
+
-
@@ -319,133 +325,103 @@ 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`] = `
-"
-
-
-
+"
+
+
+
-
-
-
-
-
+
1. Admin
-
-
-
+
-
type
- string
+
+
type
+ string
+
+ required
- required
+
+
+ Allowed values:
+ \\"admin\\"
+ \\"editor\\"
-
- Allowed values:
- \\"admin\\"
- \\"editor\\"
-
+
-
-
-
-
+
-
enabled
- boolean
+
+
enabled
+ boolean
+
+
+
+
Is this account enabled
-
-
-
Is this account enabled
+
-
-
-
-
+
-
root
- boolean
+
+
root
+ boolean
+
+
-
-
-
-
+
-
group
- string
+
+
group
+ string
+
+
-
-
-
-
+
-
expirationDate
- string
+
+
expirationDate
+ string
+
+
-
@@ -457,42 +433,12 @@ 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`] = `
-"
-
-
-
+"
+
+
+
-
-
-
-
-
+
1. array of strings
@@ -505,35 +451,37 @@ 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`] = `
-"
-
-
-
-
+"
+
+
+
+
-
items
- null
- or
- array of strings/numbers
+
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!
+
+
+
-
@@ -544,40 +492,42 @@ 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
+
+
-
-
-
-
+
-
ids
- array of integers
+
+
ids
+ array of integers
+
+
-
@@ -588,133 +538,103 @@ 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`] = `
-"
-
-
-
+"
+
+
+
-
-
-
-
-
+
1. Admin
-
-
-
+
-
type
- string
+
+
type
+ string
+
+ required
- required
+
+
+ Allowed values:
+ \\"admin\\"
+ \\"editor\\"
-
- Allowed values:
- \\"admin\\"
- \\"editor\\"
-
+
-
-
-
-
+
-
enabled
- boolean
+
+
enabled
+ boolean
+
+
+
+
Is this account enabled
-
-
Is this account enabled
-
+
-
-
-
-
+
-
root
- boolean
+
+
root
+ boolean
+
+
-
-
-
-
+
-
group
- string
+
+
group
+ string
+
+
-
-
-
-
+
-
expirationDate
- string
+
+
expirationDate
+ string
+
+
-
@@ -726,40 +646,42 @@ 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
+
+
-
-
-
-
+
-
id
- string
+
+
id
+ string
+
+
-
@@ -770,58 +692,60 @@ 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
+
+
-
-
-
-
+
-
id
- string
+
+
id
+ string
+
+ read-only
- read-only
+
-
-
-
-
+
-
description
- string
+
+
description
+ string
+
+ write-only
- write-only
+
-
@@ -832,58 +756,60 @@ 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`] = `
-"
-
-
-
-
+"
+
+
+
+
-
-
foo
- User
+
+
+
foo
+ User
+
+
-
-
-
-
+
-
name
- string
+
+
name
+ string
+
+
-
-
-
-
+
-
-
user
- User
+
+
+
user
+ User
+
+
-
@@ -894,40 +820,42 @@ 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
+
+
-
-
-
-
+
-
description
- string
+
+
description
+ string
+
+
-
@@ -938,55 +866,57 @@ exports[`HTML Output given write mode, should populate proper nodes 1`] = `
`;
exports[`HTML Output should match arrays/of-allofs.json 1`] = `
-"
-
-
-
-
+"
+
+
+
+
-
-
array-all-objects
- array of objects
+
+
+
array-all-objects
+ array of objects
+
+
-
-
-
-
+
-
foo
- string
+
+
foo
+ string
+
+
-
-
-
-
+
-
bar
- string
+
+
bar
+ string
+
+
-
@@ -999,41 +929,43 @@ exports[`HTML Output should match arrays/of-allofs.json 1`] = `
`;
exports[`HTML Output should match arrays/of-arrays.json 1`] = `
-"
-
-
-
-
array of:
-
-
+"
+
+
+
+
+
array of:
+
-
bar
- integer
+
+
bar
+ integer
+
+
-
-
-
-
+
-
foo
- array of arrays
+
+
foo
+ array of arrays
+
+
-
@@ -1045,358 +977,360 @@ exports[`HTML Output should match arrays/of-arrays.json 1`] = `
`;
exports[`HTML Output should match arrays/of-complex-objects.json 1`] = `
-"
-
-
-
-
array of:
-
-
+"
+
+
+
+
+
array of:
+
-
name
- string
+
+
name
+ string
+
+ required
+
+
+
+
+ The user's full name. 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!
+
+
- required
-
-
- The user's full name. 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!
-
-
+ Allowed value:
+ \\"Constant name\\"
+
+
+ Example values:
+ \\"Example name\\"
+ \\"Different name\\"
-
- Allowed value:
- \\"Constant name\\"
-
-
- Example values:
- \\"Example name\\"
- \\"Different name\\"
-
+
-
-
-
-
+
-
age
- number
+
+
age
+ number
+
+ read-only
+ required
- read-only
- required
+
+
+ >= 10
+ <= 40
+
+
+ Allowed values:
+ 10
+ 20
+ 30
+ 40
+
+
+ Default value:
+ 20
+
+
+ Multiple of:
+ 10
-
- >= 10
- <= 40
-
-
- Allowed values:
- 10
- 20
- 30
- 40
-
-
- Default value:
- 20
-
-
- Multiple of:
- 10
-
+
-
-
-
-
+
-
completed_at
- string
- <date-time>
+
+
completed_at
+ string
+ <date-time>
+
+ write-only
+ required
- write-only
- required
+
+
+ Match pattern:
+ ^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$
-
- Match pattern:
- ^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$
-
+
-
-
-
-
+
-
items
- null
- or
- array of strings/numbers
+
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!
-
-
+ >= 1 items
+ <= 4 items
-
- >= 1 items
- <= 4 items
-
+
-
-
-
-
+
-
email
- string
- <email>
+
+
email
+ string
+ <email>
+
+ deprecated
- deprecated
+
+
>= 2 characters
+
+ Default value:
+ \\"default@email.com\\"
+
+
+ Example values:
+ \\"one@email.com\\"
+ \\"two@email.com\\"
-
>= 2 characters
-
- Default value:
- \\"default@email.com\\"
-
-
- Example values:
- \\"one@email.com\\"
- \\"two@email.com\\"
-
+
-
-
-
-
+
-
-
plan
+
-
-
-
-
+
plan
-
+
+
+
+
+
+
+
-
-
-
-
+
-
foo
- string
+
+
foo
+ string
+
+ required
- required
+
-
-
-
-
+
-
bar
- string
+
+
bar
+ string
+
+ required
- required
+
-
-
-
-
+
-
-
permissions
+
- string
- or
- object
+
permissions
+
+ string
+ or
+ object
+
+
-
-
-
-
+
-
ids
- array of integers
+
+
ids
+ array of integers
+
+
-
-
-
-
+
-
ref
- #/properties/permissions
+
+
ref
+ #/properties/permissions
+
+
-
-
-
-
+
-
^id_
- number
-
(pattern property)
+
+
^id_
+ number
+
(pattern property)
+
+
-
-
-
-
+
-
foo
- integer
-
(pattern property)
+
+
foo
+ integer
+
(pattern property)
+
+
-
-
-
-
+
-
_name$
- string
-
(pattern property)
+
+
_name$
+ string
+
(pattern property)
+
+
-
@@ -1408,39 +1342,41 @@ exports[`HTML Output should match arrays/of-complex-objects.json 1`] = `
`;
exports[`HTML Output should match arrays/of-objects.json 1`] = `
-"
-
-
-
-
+"
+
+
+
+
-
-
propertyIsArrayOfObjects
- array of objects
+
+
+
propertyIsArrayOfObjects
+ array of objects
+
+
-
-
-
-
+
-
ArrayObjectProperty
- string
+
+
ArrayObjectProperty
+ string
+
+
-
@@ -1453,31 +1389,33 @@ 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)[]
+
+
+
$ref(./models/todo-full.json)[]
+
+
-
-
-
-
+
-
./models/todo-full.json
+
+
./models/todo-full.json
+
+
-
@@ -1488,94 +1426,96 @@ exports[`HTML Output should match arrays/of-refs.json 1`] = `
`;
exports[`HTML Output should match arrays/with-multiple-arrayish-items.json 1`] = `
-"
-
-
+"
+
+
-
-
array
+
+
+
array
+
+
-
-
-
-
+
-
number
+
+
number
+
+
-
-
-
-
+
-
-
object
+
+
+
object
+
+
-
-
-
-
+
-
code
- number
+
+
code
+ number
+
+ required
- required
+
-
-
-
-
+
-
msg
- string
+
+
msg
+ string
+
+ required
- required
+
-
-
-
-
+
-
ref
- string
+
+
ref
+ string
+
+
-
@@ -1588,44 +1528,46 @@ exports[`HTML Output should match arrays/with-multiple-arrayish-items.json 1`] =
`;
exports[`HTML Output should match arrays/with-ordered-items.json 1`] = `
-"
-
-
+"
+
+
-
-
array
+
+
+
array
+
+
-
-
-
-
+
-
number
+
+
number
+
+
-
-
-
-
+
-
string
+
+
string
+
+
-
@@ -1636,59 +1578,61 @@ exports[`HTML Output should match arrays/with-ordered-items.json 1`] = `
`;
exports[`HTML Output should match arrays/with-single-arrayish-items.json 1`] = `
-"
-
-
-
-
array of:
-
-
+"
+
+
+
+
+
array of:
+
-
code
- number
+
+
code
+ number
+
+ required
- required
+
-
-
-
-
+
-
msg
- string
+
+
msg
+ string
+
+ required
- required
+
-
-
-
-
+
-
ref
- string
+
+
ref
+ string
+
+
-
@@ -1700,217 +1644,219 @@ exports[`HTML Output should match arrays/with-single-arrayish-items.json 1`] = `
`;
exports[`HTML Output should match combiners/allOfs/base.json 1`] = `
-"
-
-
-
-
+"
+
+
+
+
-
-
AllOfMergeObjects
- object
+
+
+
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
+
+
+
AllOfMergeObjectPropertyValidations
+ object
+
+
-
-
-
-
+
-
Property
- string
+
+
Property
+ string
+
+
+ >= 1 characters
+ <= 2 characters
+
-
- >= 1 characters
- <= 2 characters
-
+
-
-
-
-
+
-
-
AllOfMergeRefs
- object
+
+
+
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
+
+
-
@@ -1923,191 +1869,193 @@ exports[`HTML Output should match combiners/allOfs/base.json 1`] = `
`;
exports[`HTML Output should match combiners/allOfs/complex.json 1`] = `
-"