mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2026-03-17 18:49:05 +00:00
Add UUID examples and documentation (#22303)
This commit is contained in:
@@ -1328,7 +1328,7 @@ configuration = petstore_api.Configuration(
|
||||
with petstore_api.ApiClient(configuration) as api_client:
|
||||
# Create an instance of the API class
|
||||
api_instance = petstore_api.FakeApi(api_client)
|
||||
uuid_example = '84529ad2-2265-4e15-b76b-c17025d848f6' # str | uuid example
|
||||
uuid_example = UUID('84529ad2-2265-4e15-b76b-c17025d848f6') # UUID | uuid example
|
||||
|
||||
try:
|
||||
# test uuid example
|
||||
@@ -1344,7 +1344,7 @@ with petstore_api.ApiClient(configuration) as api_client:
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------- | ------------- | ------------- | -------------
|
||||
**uuid_example** | **str**| uuid example |
|
||||
**uuid_example** | **UUID**| uuid example |
|
||||
|
||||
### Return type
|
||||
|
||||
|
||||
@@ -18,7 +18,7 @@ Name | Type | Description | Notes
|
||||
**binary** | **bytearray** | | [optional]
|
||||
**var_date** | **date** | |
|
||||
**date_time** | **datetime** | | [optional]
|
||||
**uuid** | **str** | | [optional]
|
||||
**uuid** | **UUID** | | [optional]
|
||||
**password** | **str** | |
|
||||
**pattern_with_digits** | **str** | A string that is a 10 digit number. Can have leading zeros. | [optional]
|
||||
**pattern_with_digits_and_delimiter** | **str** | A string starting with 'image_' (case insensitive) and one to three digits following i.e. Image_01. | [optional]
|
||||
|
||||
@@ -5,7 +5,7 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**uuid** | **str** | | [optional]
|
||||
**uuid** | **UUID** | | [optional]
|
||||
**date_time** | **datetime** | | [optional]
|
||||
**map** | [**Dict[str, Animal]**](Animal.md) | | [optional]
|
||||
|
||||
|
||||
@@ -6,7 +6,7 @@ Used to test oneOf enums with only one string value.
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**id** | **str** | |
|
||||
**id** | **UUID** | |
|
||||
**activity** | [**TaskActivity**](TaskActivity.md) | |
|
||||
|
||||
## Example
|
||||
|
||||
Reference in New Issue
Block a user