mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-07 13:44:54 +03:00
test: The number of items in the array in the array is incorrect #1762
This commit is contained in:
parent
d3d16464bb
commit
19e161008f
|
@ -384,6 +384,17 @@ paths:
|
||||||
type: array
|
type: array
|
||||||
items:
|
items:
|
||||||
$ref: '#/components/schemas/Pet'
|
$ref: '#/components/schemas/Pet'
|
||||||
|
application/xml-dtd:
|
||||||
|
schema:
|
||||||
|
type: array
|
||||||
|
maxItems: 999
|
||||||
|
minItems: 0
|
||||||
|
items:
|
||||||
|
type: array
|
||||||
|
maxItems: 777
|
||||||
|
minItems: 111
|
||||||
|
items:
|
||||||
|
type: number
|
||||||
'400':
|
'400':
|
||||||
description: Invalid tag value
|
description: Invalid tag value
|
||||||
security:
|
security:
|
||||||
|
|
|
@ -377,7 +377,9 @@ paths:
|
||||||
application/xml:
|
application/xml:
|
||||||
schema:
|
schema:
|
||||||
type: array
|
type: array
|
||||||
|
maxItems: 999
|
||||||
items:
|
items:
|
||||||
|
maxItems: 111
|
||||||
$ref: '#/components/schemas/Pet'
|
$ref: '#/components/schemas/Pet'
|
||||||
'400':
|
'400':
|
||||||
description: Invalid tag value
|
description: Invalid tag value
|
||||||
|
|
|
@ -33,6 +33,8 @@ exports[`Components SchemaView discriminator should correctly render discriminat
|
||||||
"format": undefined,
|
"format": undefined,
|
||||||
"isCircular": undefined,
|
"isCircular": undefined,
|
||||||
"isPrimitive": true,
|
"isPrimitive": true,
|
||||||
|
"maxItems": undefined,
|
||||||
|
"minItems": undefined,
|
||||||
"options": "<<<filtered>>>",
|
"options": "<<<filtered>>>",
|
||||||
"pattern": undefined,
|
"pattern": undefined,
|
||||||
"pointer": "#/components/schemas/Dog/properties/packSize",
|
"pointer": "#/components/schemas/Dog/properties/packSize",
|
||||||
|
@ -86,6 +88,8 @@ exports[`Components SchemaView discriminator should correctly render discriminat
|
||||||
"format": undefined,
|
"format": undefined,
|
||||||
"isCircular": undefined,
|
"isCircular": undefined,
|
||||||
"isPrimitive": true,
|
"isPrimitive": true,
|
||||||
|
"maxItems": undefined,
|
||||||
|
"minItems": undefined,
|
||||||
"options": "<<<filtered>>>",
|
"options": "<<<filtered>>>",
|
||||||
"pattern": undefined,
|
"pattern": undefined,
|
||||||
"pointer": "#/components/schemas/Dog/properties/type",
|
"pointer": "#/components/schemas/Dog/properties/type",
|
||||||
|
|
|
@ -729,7 +729,9 @@ try {
|
||||||
"schema": Object {
|
"schema": Object {
|
||||||
"items": Object {
|
"items": Object {
|
||||||
"$ref": "#/components/schemas/Pet",
|
"$ref": "#/components/schemas/Pet",
|
||||||
|
"maxItems": 111,
|
||||||
},
|
},
|
||||||
|
"maxItems": 999,
|
||||||
"type": "array",
|
"type": "array",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
@ -2562,6 +2564,21 @@ try {
|
||||||
"type": "array",
|
"type": "array",
|
||||||
},
|
},
|
||||||
},
|
},
|
||||||
|
"application/xml-dtd": Object {
|
||||||
|
"schema": Object {
|
||||||
|
"items": Object {
|
||||||
|
"items": Object {
|
||||||
|
"type": "number",
|
||||||
|
},
|
||||||
|
"maxItems": 777,
|
||||||
|
"minItems": 111,
|
||||||
|
"type": "array",
|
||||||
|
},
|
||||||
|
"maxItems": 999,
|
||||||
|
"minItems": 0,
|
||||||
|
"type": "array",
|
||||||
|
},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
"description": "successful operation",
|
"description": "successful operation",
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in New Issue
Block a user