[Python] remove default value from being fallback to example (#2213)

* remove example fallback

* reset test case
This commit is contained in:
William Cheng
2019-02-22 20:44:27 +08:00
committed by GitHub
parent 163b00459f
commit f2002b25da
59 changed files with 77 additions and 105 deletions

View File

@@ -5,7 +5,7 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**id** | **int** | | [optional]
**category** | [**Category**](Category.md) | | [optional]
**name** | **str** | | [default to 'doggie']
**name** | **str** | |
**photo_urls** | **list[str]** | |
**tags** | [**list[Tag]**](Tag.md) | | [optional]
**status** | **str** | pet status in the store | [optional]

View File

@@ -48,7 +48,7 @@ class Pet(object):
'status': 'status'
}
def __init__(self, id=None, category=None, name='doggie', photo_urls=None, tags=None, status=None): # noqa: E501
def __init__(self, id=None, category=None, name=None, photo_urls=None, tags=None, status=None): # noqa: E501
"""Pet - a model defined in OpenAPI""" # noqa: E501
self._id = None