forked from loafle/openapi-generator-original
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:
@@ -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)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user