Python-exp remove codegemodel mutation, allow mixed OneOf types (#6797)

* Stops converting primitive models into object models, adds ComposedSchemas with mixed type

* Samples update for python-exp
This commit is contained in:
Justin Black
2020-07-18 10:13:22 -07:00
committed by GitHub
parent 44d3f717f8
commit ed84280108
52 changed files with 1883 additions and 504 deletions

View File

@@ -0,0 +1,13 @@
# composed_one_of_number_with_validations.ComposedOneOfNumberWithValidations
this is a model that allows payloads of type object or number
## Properties
Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**class_name** | **str** | | defaults to nulltype.Null
**color** | **str** | | [optional] if omitted the server will use the default value of 'red'
**any string name** | **bool, date, datetime, dict, float, int, list, str, none_type** | any string name can be used but the value must be the correct type | [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)