[python-experimental] Support schema property which has $ref to 'oneOf' schema (#6262)

* Add reference to oneOf schema

* Add model showing unit test failure with ref to oneOf schema

* Updates get_discriminator_class to return visited_composed_classes

* Fixes broken test, adds is_valid_type

* move unit test to  test_drawing.py file

* Add more unit tests

* invoke git pull from spacether fork

* invoke git pull from spacether fork

* Improve unit tests

Co-authored-by: Justin Black <justin.a.black@gmail.com>
This commit is contained in:
Sebastien Rosset
2020-05-13 09:11:43 -07:00
committed by GitHub
parent a5b410993b
commit 1a6cc67fcc
9 changed files with 330 additions and 3 deletions

View File

@@ -0,0 +1,11 @@
# drawing.Drawing
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**main_shape** | [**shape.Shape**](Shape.md) | | [optional]
**shapes** | [**[shape.Shape]**](Shape.md) | | [optional]
[[Back to Model list]](../README.md#documentation-for-models) [[Back to API list]](../README.md#documentation-for-api-endpoints) [[Back to README]](../README.md)