Error is nullable in AddNode result
This commit is contained in:
parent
98bae16be0
commit
7b1c1faf7a
3 changed files with 5 additions and 5 deletions
2
garage
2
garage
|
@ -1 +1 @@
|
|||
Subproject commit ba6792231072c32f4de3cd2cec0788c55e7de6c0
|
||||
Subproject commit 0dc0f519e119ae1c560d51e37af21187e99c8b57
|
|
@ -5,7 +5,7 @@
|
|||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**success** | **bool** | | [optional]
|
||||
**error** | **str** | | [optional]
|
||||
**error** | **str, none_type** | | [optional]
|
||||
**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)
|
||||
|
|
|
@ -82,7 +82,7 @@ class AddNode200ResponseInner(ModelNormal):
|
|||
"""
|
||||
return {
|
||||
'success': (bool,), # noqa: E501
|
||||
'error': (str,), # noqa: E501
|
||||
'error': (str, none_type,), # noqa: E501
|
||||
}
|
||||
|
||||
@cached_property
|
||||
|
@ -137,7 +137,7 @@ class AddNode200ResponseInner(ModelNormal):
|
|||
through its discriminator because we passed in
|
||||
_visited_composed_classes = (Animal,)
|
||||
success (bool): [optional] # noqa: E501
|
||||
error (str): [optional] # noqa: E501
|
||||
error (str, none_type): [optional] # noqa: E501
|
||||
"""
|
||||
|
||||
_check_type = kwargs.pop('_check_type', True)
|
||||
|
@ -224,7 +224,7 @@ class AddNode200ResponseInner(ModelNormal):
|
|||
through its discriminator because we passed in
|
||||
_visited_composed_classes = (Animal,)
|
||||
success (bool): [optional] # noqa: E501
|
||||
error (str): [optional] # noqa: E501
|
||||
error (str, none_type): [optional] # noqa: E501
|
||||
"""
|
||||
|
||||
_check_type = kwargs.pop('_check_type', True)
|
||||
|
|
Loading…
Reference in a new issue