@@ -119,6 +119,25 @@ def sync_detailed(
119
119
model_prop : ModelWithUnionProperty ,
120
120
required_model_prop : ModelWithUnionProperty ,
121
121
) -> Response [Union [Any , HTTPValidationError ]]:
122
+ """Defaults
123
+
124
+ Args:
125
+ string_prop (str): Default: 'the default string'.
126
+ date_prop (datetime.date): Default: isoparse('1010-10-10').date().
127
+ float_prop (float): Default: 3.14.
128
+ int_prop (int): Default: 7.
129
+ boolean_prop (bool):
130
+ list_prop (List[AnEnum]):
131
+ union_prop (Union[float, str]): Default: 'not a float'.
132
+ union_prop_with_ref (Union[AnEnum, None, Unset, float]): Default: 0.6.
133
+ enum_prop (AnEnum): For testing Enums in all the ways they can be used
134
+ model_prop (ModelWithUnionProperty):
135
+ required_model_prop (ModelWithUnionProperty):
136
+
137
+ Returns:
138
+ Response[Union[Any, HTTPValidationError]]
139
+ """
140
+
122
141
kwargs = _get_kwargs (
123
142
client = client ,
124
143
string_prop = string_prop ,
@@ -157,7 +176,24 @@ def sync(
157
176
model_prop : ModelWithUnionProperty ,
158
177
required_model_prop : ModelWithUnionProperty ,
159
178
) -> Optional [Union [Any , HTTPValidationError ]]:
160
- """ """
179
+ """Defaults
180
+
181
+ Args:
182
+ string_prop (str): Default: 'the default string'.
183
+ date_prop (datetime.date): Default: isoparse('1010-10-10').date().
184
+ float_prop (float): Default: 3.14.
185
+ int_prop (int): Default: 7.
186
+ boolean_prop (bool):
187
+ list_prop (List[AnEnum]):
188
+ union_prop (Union[float, str]): Default: 'not a float'.
189
+ union_prop_with_ref (Union[AnEnum, None, Unset, float]): Default: 0.6.
190
+ enum_prop (AnEnum): For testing Enums in all the ways they can be used
191
+ model_prop (ModelWithUnionProperty):
192
+ required_model_prop (ModelWithUnionProperty):
193
+
194
+ Returns:
195
+ Response[Union[Any, HTTPValidationError]]
196
+ """
161
197
162
198
return sync_detailed (
163
199
client = client ,
@@ -190,6 +226,25 @@ async def asyncio_detailed(
190
226
model_prop : ModelWithUnionProperty ,
191
227
required_model_prop : ModelWithUnionProperty ,
192
228
) -> Response [Union [Any , HTTPValidationError ]]:
229
+ """Defaults
230
+
231
+ Args:
232
+ string_prop (str): Default: 'the default string'.
233
+ date_prop (datetime.date): Default: isoparse('1010-10-10').date().
234
+ float_prop (float): Default: 3.14.
235
+ int_prop (int): Default: 7.
236
+ boolean_prop (bool):
237
+ list_prop (List[AnEnum]):
238
+ union_prop (Union[float, str]): Default: 'not a float'.
239
+ union_prop_with_ref (Union[AnEnum, None, Unset, float]): Default: 0.6.
240
+ enum_prop (AnEnum): For testing Enums in all the ways they can be used
241
+ model_prop (ModelWithUnionProperty):
242
+ required_model_prop (ModelWithUnionProperty):
243
+
244
+ Returns:
245
+ Response[Union[Any, HTTPValidationError]]
246
+ """
247
+
193
248
kwargs = _get_kwargs (
194
249
client = client ,
195
250
string_prop = string_prop ,
@@ -226,7 +281,24 @@ async def asyncio(
226
281
model_prop : ModelWithUnionProperty ,
227
282
required_model_prop : ModelWithUnionProperty ,
228
283
) -> Optional [Union [Any , HTTPValidationError ]]:
229
- """ """
284
+ """Defaults
285
+
286
+ Args:
287
+ string_prop (str): Default: 'the default string'.
288
+ date_prop (datetime.date): Default: isoparse('1010-10-10').date().
289
+ float_prop (float): Default: 3.14.
290
+ int_prop (int): Default: 7.
291
+ boolean_prop (bool):
292
+ list_prop (List[AnEnum]):
293
+ union_prop (Union[float, str]): Default: 'not a float'.
294
+ union_prop_with_ref (Union[AnEnum, None, Unset, float]): Default: 0.6.
295
+ enum_prop (AnEnum): For testing Enums in all the ways they can be used
296
+ model_prop (ModelWithUnionProperty):
297
+ required_model_prop (ModelWithUnionProperty):
298
+
299
+ Returns:
300
+ Response[Union[Any, HTTPValidationError]]
301
+ """
230
302
231
303
return (
232
304
await asyncio_detailed (
0 commit comments