mirror of
https://github.com/Redocly/redoc.git
synced 2025-08-09 22:54:51 +03:00
Restore DiscriminatorDropdown test snapshot
This commit is contained in:
parent
67be0580ca
commit
bc3651a82e
|
@ -21,6 +21,9 @@ exports[`Components SchemaView discriminator should correctly render discriminat
|
||||||
"default": undefined,
|
"default": undefined,
|
||||||
"deprecated": false,
|
"deprecated": false,
|
||||||
"description": "",
|
"description": "",
|
||||||
|
"displayFormat": undefined,
|
||||||
|
"displayType": "number",
|
||||||
|
"enum": Array [],
|
||||||
"example": undefined,
|
"example": undefined,
|
||||||
"externalDocs": undefined,
|
"externalDocs": undefined,
|
||||||
"format": undefined,
|
"format": undefined,
|
||||||
|
@ -32,34 +35,18 @@ exports[`Components SchemaView discriminator should correctly render discriminat
|
||||||
"pointer": "#/components/schemas/Dog/properties/packSize",
|
"pointer": "#/components/schemas/Dog/properties/packSize",
|
||||||
"rawSchema": Object {
|
"rawSchema": Object {
|
||||||
"default": undefined,
|
"default": undefined,
|
||||||
"deprecated": false,
|
|
||||||
"description": "",
|
|
||||||
"displayFormat": undefined,
|
|
||||||
"displayType": "number",
|
|
||||||
"enum": Array [],
|
|
||||||
"example": undefined,
|
|
||||||
"format": undefined,
|
|
||||||
"isCircular": undefined,
|
|
||||||
"isPrimitive": true,
|
|
||||||
"nullable": false,
|
|
||||||
"options": "<<<filtered>>>",
|
|
||||||
"pattern": undefined,
|
|
||||||
"pointer": "#/components/schemas/Dog/properties/packSize",
|
|
||||||
"rawSchema": Object {
|
|
||||||
"default": undefined,
|
|
||||||
"type": "number",
|
|
||||||
},
|
|
||||||
"readOnly": false,
|
|
||||||
"schema": Object {
|
|
||||||
"default": undefined,
|
|
||||||
"type": "number",
|
|
||||||
},
|
|
||||||
"title": "",
|
|
||||||
"type": "number",
|
"type": "number",
|
||||||
"typePrefix": "",
|
|
||||||
"writeOnly": false,
|
|
||||||
},
|
},
|
||||||
}
|
"readOnly": false,
|
||||||
|
"schema": Object {
|
||||||
|
"default": undefined,
|
||||||
|
"type": "number",
|
||||||
|
},
|
||||||
|
"title": "",
|
||||||
|
"type": "number",
|
||||||
|
"typePrefix": "",
|
||||||
|
"writeOnly": false,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
isLast={false}
|
isLast={false}
|
||||||
|
@ -84,6 +71,9 @@ exports[`Components SchemaView discriminator should correctly render discriminat
|
||||||
"default": undefined,
|
"default": undefined,
|
||||||
"deprecated": false,
|
"deprecated": false,
|
||||||
"description": "",
|
"description": "",
|
||||||
|
"displayFormat": undefined,
|
||||||
|
"displayType": "string",
|
||||||
|
"enum": Array [],
|
||||||
"example": undefined,
|
"example": undefined,
|
||||||
"externalDocs": undefined,
|
"externalDocs": undefined,
|
||||||
"format": undefined,
|
"format": undefined,
|
||||||
|
@ -100,41 +90,20 @@ exports[`Components SchemaView discriminator should correctly render discriminat
|
||||||
"readOnly": false,
|
"readOnly": false,
|
||||||
"schema": Object {
|
"schema": Object {
|
||||||
"default": undefined,
|
"default": undefined,
|
||||||
"deprecated": false,
|
|
||||||
"description": "",
|
|
||||||
"displayFormat": undefined,
|
|
||||||
"displayType": "string",
|
|
||||||
"enum": Array [],
|
|
||||||
"example": undefined,
|
|
||||||
"format": undefined,
|
|
||||||
"isCircular": undefined,
|
|
||||||
"isPrimitive": true,
|
|
||||||
"nullable": false,
|
|
||||||
"options": "<<<filtered>>>",
|
|
||||||
"pattern": undefined,
|
|
||||||
"pointer": "#/components/schemas/Dog/properties/type",
|
|
||||||
"rawSchema": Object {
|
|
||||||
"default": undefined,
|
|
||||||
"type": "string",
|
|
||||||
},
|
|
||||||
"readOnly": false,
|
|
||||||
"schema": Object {
|
|
||||||
"default": undefined,
|
|
||||||
"type": "string",
|
|
||||||
},
|
|
||||||
"title": "",
|
|
||||||
"type": "string",
|
"type": "string",
|
||||||
"typePrefix": "",
|
|
||||||
"writeOnly": false,
|
|
||||||
},
|
},
|
||||||
}
|
"title": "",
|
||||||
|
"type": "string",
|
||||||
|
"typePrefix": "",
|
||||||
|
"writeOnly": false,
|
||||||
|
},
|
||||||
}
|
}
|
||||||
isLast={true}
|
}
|
||||||
key="type"
|
isLast={true}
|
||||||
renderDiscriminatorSwitch={[Function]}
|
key="type"
|
||||||
showExamples={false}
|
renderDiscriminatorSwitch={[Function]}
|
||||||
/>
|
showExamples={false}
|
||||||
</tbody>
|
/>
|
||||||
</styled.table>
|
</tbody>
|
||||||
</div>
|
</styled.table>
|
||||||
`;
|
`;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user