Skip to content
This repository was archived by the owner on Dec 25, 2024. It is now read-only.

Commit d2a975e

Browse files
committed
Adds dependentRequired python tests
1 parent 6190cc1 commit d2a975e

File tree

137 files changed

+5016
-2
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

137 files changed

+5016
-2
lines changed

samples/client/3_1_0_unit_test/python/.openapi-generator/FILES

+130
Large diffs are not rendered by default.

samples/client/3_1_0_unit_test/python/README.md

+12
Large diffs are not rendered by default.

samples/client/3_1_0_unit_test/python/docs/apis/tags/content_type_json_api.md

+8
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,14 @@ Method | Description
6363
[**post_date_format_response_body_for_content_types**](../../paths/response_body_post_date_format_response_body_for_content_types/post.md) |
6464
[**post_date_time_format_request_body**](../../paths/request_body_post_date_time_format_request_body/post.md) |
6565
[**post_date_time_format_response_body_for_content_types**](../../paths/response_body_post_date_time_format_response_body_for_content_types/post.md) |
66+
[**post_dependencies_with_escaped_characters_request_body**](../../paths/request_body_post_dependencies_with_escaped_characters_request_body/post.md) |
67+
[**post_dependencies_with_escaped_characters_response_body_for_content_types**](../../paths/response_body_post_dependencies_with_escaped_characters_response_body_for_content_types/post.md) |
6668
[**post_duration_format_request_body**](../../paths/request_body_post_duration_format_request_body/post.md) |
6769
[**post_duration_format_response_body_for_content_types**](../../paths/response_body_post_duration_format_response_body_for_content_types/post.md) |
6870
[**post_email_format_request_body**](../../paths/request_body_post_email_format_request_body/post.md) |
6971
[**post_email_format_response_body_for_content_types**](../../paths/response_body_post_email_format_response_body_for_content_types/post.md) |
72+
[**post_empty_dependents_request_body**](../../paths/request_body_post_empty_dependents_request_body/post.md) |
73+
[**post_empty_dependents_response_body_for_content_types**](../../paths/response_body_post_empty_dependents_response_body_for_content_types/post.md) |
7074
[**post_enum_with0_does_not_match_false_request_body**](../../paths/request_body_post_enum_with0_does_not_match_false_request_body/post.md) |
7175
[**post_enum_with0_does_not_match_false_response_body_for_content_types**](../../paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post.md) |
7276
[**post_enum_with1_does_not_match_true_request_body**](../../paths/request_body_post_enum_with1_does_not_match_true_request_body/post.md) |
@@ -129,6 +133,8 @@ Method | Description
129133
[**post_minlength_validation_response_body_for_content_types**](../../paths/response_body_post_minlength_validation_response_body_for_content_types/post.md) |
130134
[**post_minproperties_validation_request_body**](../../paths/request_body_post_minproperties_validation_request_body/post.md) |
131135
[**post_minproperties_validation_response_body_for_content_types**](../../paths/response_body_post_minproperties_validation_response_body_for_content_types/post.md) |
136+
[**post_multiple_dependents_required_request_body**](../../paths/request_body_post_multiple_dependents_required_request_body/post.md) |
137+
[**post_multiple_dependents_required_response_body_for_content_types**](../../paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post.md) |
132138
[**post_multiple_types_can_be_specified_in_an_array_request_body**](../../paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post.md) |
133139
[**post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types**](../../paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post.md) |
134140
[**post_nested_allof_to_check_validation_semantics_request_body**](../../paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post.md) |
@@ -193,6 +199,8 @@ Method | Description
193199
[**post_required_with_escaped_characters_response_body_for_content_types**](../../paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post.md) |
194200
[**post_simple_enum_validation_request_body**](../../paths/request_body_post_simple_enum_validation_request_body/post.md) |
195201
[**post_simple_enum_validation_response_body_for_content_types**](../../paths/response_body_post_simple_enum_validation_response_body_for_content_types/post.md) |
202+
[**post_single_dependency_request_body**](../../paths/request_body_post_single_dependency_request_body/post.md) |
203+
[**post_single_dependency_response_body_for_content_types**](../../paths/response_body_post_single_dependency_response_body_for_content_types/post.md) |
196204
[**post_small_multiple_of_large_integer_request_body**](../../paths/request_body_post_small_multiple_of_large_integer_request_body/post.md) |
197205
[**post_small_multiple_of_large_integer_response_body_for_content_types**](../../paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post.md) |
198206
[**post_string_type_matches_strings_request_body**](../../paths/request_body_post_string_type_matches_strings_request_body/post.md) |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
<a name="top"></a>
2+
unit_test_api.apis.tags.dependent_required_api
3+
# DependentRequiredApi
4+
5+
All URIs are relative to the selected server
6+
- The server is selected by passing in server_info and server_index into api_configuration.ApiConfiguration
7+
- Code samples in endpoints documents show how to do this
8+
- server_index can also be passed in to endpoint calls, see endpoint documentation
9+
10+
Method | Description
11+
------ | -------------
12+
[**post_dependencies_with_escaped_characters_request_body**](../../paths/request_body_post_dependencies_with_escaped_characters_request_body/post.md) |
13+
[**post_dependencies_with_escaped_characters_response_body_for_content_types**](../../paths/response_body_post_dependencies_with_escaped_characters_response_body_for_content_types/post.md) |
14+
[**post_empty_dependents_request_body**](../../paths/request_body_post_empty_dependents_request_body/post.md) |
15+
[**post_empty_dependents_response_body_for_content_types**](../../paths/response_body_post_empty_dependents_response_body_for_content_types/post.md) |
16+
[**post_multiple_dependents_required_request_body**](../../paths/request_body_post_multiple_dependents_required_request_body/post.md) |
17+
[**post_multiple_dependents_required_response_body_for_content_types**](../../paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post.md) |
18+
[**post_single_dependency_request_body**](../../paths/request_body_post_single_dependency_request_body/post.md) |
19+
[**post_single_dependency_response_body_for_content_types**](../../paths/response_body_post_single_dependency_response_body_for_content_types/post.md) |
20+
21+
[[Back to top]](#top) [[Back to Endpoints]](../../../README.md#Endpoints) [[Back to README]](../../../README.md)

samples/client/3_1_0_unit_test/python/docs/apis/tags/operation_request_body_api.md

+4
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ Method | Description
3636
[**post_contains_with_null_instance_elements_request_body**](../../paths/request_body_post_contains_with_null_instance_elements_request_body/post.md) |
3737
[**post_date_format_request_body**](../../paths/request_body_post_date_format_request_body/post.md) |
3838
[**post_date_time_format_request_body**](../../paths/request_body_post_date_time_format_request_body/post.md) |
39+
[**post_dependencies_with_escaped_characters_request_body**](../../paths/request_body_post_dependencies_with_escaped_characters_request_body/post.md) |
3940
[**post_duration_format_request_body**](../../paths/request_body_post_duration_format_request_body/post.md) |
4041
[**post_email_format_request_body**](../../paths/request_body_post_email_format_request_body/post.md) |
42+
[**post_empty_dependents_request_body**](../../paths/request_body_post_empty_dependents_request_body/post.md) |
4143
[**post_enum_with0_does_not_match_false_request_body**](../../paths/request_body_post_enum_with0_does_not_match_false_request_body/post.md) |
4244
[**post_enum_with1_does_not_match_true_request_body**](../../paths/request_body_post_enum_with1_does_not_match_true_request_body/post.md) |
4345
[**post_enum_with_escaped_characters_request_body**](../../paths/request_body_post_enum_with_escaped_characters_request_body/post.md) |
@@ -69,6 +71,7 @@ Method | Description
6971
[**post_minitems_validation_request_body**](../../paths/request_body_post_minitems_validation_request_body/post.md) |
7072
[**post_minlength_validation_request_body**](../../paths/request_body_post_minlength_validation_request_body/post.md) |
7173
[**post_minproperties_validation_request_body**](../../paths/request_body_post_minproperties_validation_request_body/post.md) |
74+
[**post_multiple_dependents_required_request_body**](../../paths/request_body_post_multiple_dependents_required_request_body/post.md) |
7275
[**post_multiple_types_can_be_specified_in_an_array_request_body**](../../paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post.md) |
7376
[**post_nested_allof_to_check_validation_semantics_request_body**](../../paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post.md) |
7477
[**post_nested_anyof_to_check_validation_semantics_request_body**](../../paths/request_body_post_nested_anyof_to_check_validation_semantics_request_body/post.md) |
@@ -101,6 +104,7 @@ Method | Description
101104
[**post_required_with_empty_array_request_body**](../../paths/request_body_post_required_with_empty_array_request_body/post.md) |
102105
[**post_required_with_escaped_characters_request_body**](../../paths/request_body_post_required_with_escaped_characters_request_body/post.md) |
103106
[**post_simple_enum_validation_request_body**](../../paths/request_body_post_simple_enum_validation_request_body/post.md) |
107+
[**post_single_dependency_request_body**](../../paths/request_body_post_single_dependency_request_body/post.md) |
104108
[**post_small_multiple_of_large_integer_request_body**](../../paths/request_body_post_small_multiple_of_large_integer_request_body/post.md) |
105109
[**post_string_type_matches_strings_request_body**](../../paths/request_body_post_string_type_matches_strings_request_body/post.md) |
106110
[**post_time_format_request_body**](../../paths/request_body_post_time_format_request_body/post.md) |

samples/client/3_1_0_unit_test/python/docs/apis/tags/path_post_api.md

+8
Original file line numberDiff line numberDiff line change
@@ -63,10 +63,14 @@ Method | Description
6363
[**post_date_format_response_body_for_content_types**](../../paths/response_body_post_date_format_response_body_for_content_types/post.md) |
6464
[**post_date_time_format_request_body**](../../paths/request_body_post_date_time_format_request_body/post.md) |
6565
[**post_date_time_format_response_body_for_content_types**](../../paths/response_body_post_date_time_format_response_body_for_content_types/post.md) |
66+
[**post_dependencies_with_escaped_characters_request_body**](../../paths/request_body_post_dependencies_with_escaped_characters_request_body/post.md) |
67+
[**post_dependencies_with_escaped_characters_response_body_for_content_types**](../../paths/response_body_post_dependencies_with_escaped_characters_response_body_for_content_types/post.md) |
6668
[**post_duration_format_request_body**](../../paths/request_body_post_duration_format_request_body/post.md) |
6769
[**post_duration_format_response_body_for_content_types**](../../paths/response_body_post_duration_format_response_body_for_content_types/post.md) |
6870
[**post_email_format_request_body**](../../paths/request_body_post_email_format_request_body/post.md) |
6971
[**post_email_format_response_body_for_content_types**](../../paths/response_body_post_email_format_response_body_for_content_types/post.md) |
72+
[**post_empty_dependents_request_body**](../../paths/request_body_post_empty_dependents_request_body/post.md) |
73+
[**post_empty_dependents_response_body_for_content_types**](../../paths/response_body_post_empty_dependents_response_body_for_content_types/post.md) |
7074
[**post_enum_with0_does_not_match_false_request_body**](../../paths/request_body_post_enum_with0_does_not_match_false_request_body/post.md) |
7175
[**post_enum_with0_does_not_match_false_response_body_for_content_types**](../../paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post.md) |
7276
[**post_enum_with1_does_not_match_true_request_body**](../../paths/request_body_post_enum_with1_does_not_match_true_request_body/post.md) |
@@ -129,6 +133,8 @@ Method | Description
129133
[**post_minlength_validation_response_body_for_content_types**](../../paths/response_body_post_minlength_validation_response_body_for_content_types/post.md) |
130134
[**post_minproperties_validation_request_body**](../../paths/request_body_post_minproperties_validation_request_body/post.md) |
131135
[**post_minproperties_validation_response_body_for_content_types**](../../paths/response_body_post_minproperties_validation_response_body_for_content_types/post.md) |
136+
[**post_multiple_dependents_required_request_body**](../../paths/request_body_post_multiple_dependents_required_request_body/post.md) |
137+
[**post_multiple_dependents_required_response_body_for_content_types**](../../paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post.md) |
132138
[**post_multiple_types_can_be_specified_in_an_array_request_body**](../../paths/request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post.md) |
133139
[**post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types**](../../paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post.md) |
134140
[**post_nested_allof_to_check_validation_semantics_request_body**](../../paths/request_body_post_nested_allof_to_check_validation_semantics_request_body/post.md) |
@@ -193,6 +199,8 @@ Method | Description
193199
[**post_required_with_escaped_characters_response_body_for_content_types**](../../paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post.md) |
194200
[**post_simple_enum_validation_request_body**](../../paths/request_body_post_simple_enum_validation_request_body/post.md) |
195201
[**post_simple_enum_validation_response_body_for_content_types**](../../paths/response_body_post_simple_enum_validation_response_body_for_content_types/post.md) |
202+
[**post_single_dependency_request_body**](../../paths/request_body_post_single_dependency_request_body/post.md) |
203+
[**post_single_dependency_response_body_for_content_types**](../../paths/response_body_post_single_dependency_response_body_for_content_types/post.md) |
196204
[**post_small_multiple_of_large_integer_request_body**](../../paths/request_body_post_small_multiple_of_large_integer_request_body/post.md) |
197205
[**post_small_multiple_of_large_integer_response_body_for_content_types**](../../paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post.md) |
198206
[**post_string_type_matches_strings_request_body**](../../paths/request_body_post_string_type_matches_strings_request_body/post.md) |

samples/client/3_1_0_unit_test/python/docs/apis/tags/response_content_content_type_schema_api.md

+4
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,10 @@ Method | Description
3636
[**post_contains_with_null_instance_elements_response_body_for_content_types**](../../paths/response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post.md) |
3737
[**post_date_format_response_body_for_content_types**](../../paths/response_body_post_date_format_response_body_for_content_types/post.md) |
3838
[**post_date_time_format_response_body_for_content_types**](../../paths/response_body_post_date_time_format_response_body_for_content_types/post.md) |
39+
[**post_dependencies_with_escaped_characters_response_body_for_content_types**](../../paths/response_body_post_dependencies_with_escaped_characters_response_body_for_content_types/post.md) |
3940
[**post_duration_format_response_body_for_content_types**](../../paths/response_body_post_duration_format_response_body_for_content_types/post.md) |
4041
[**post_email_format_response_body_for_content_types**](../../paths/response_body_post_email_format_response_body_for_content_types/post.md) |
42+
[**post_empty_dependents_response_body_for_content_types**](../../paths/response_body_post_empty_dependents_response_body_for_content_types/post.md) |
4143
[**post_enum_with0_does_not_match_false_response_body_for_content_types**](../../paths/response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post.md) |
4244
[**post_enum_with1_does_not_match_true_response_body_for_content_types**](../../paths/response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post.md) |
4345
[**post_enum_with_escaped_characters_response_body_for_content_types**](../../paths/response_body_post_enum_with_escaped_characters_response_body_for_content_types/post.md) |
@@ -69,6 +71,7 @@ Method | Description
6971
[**post_minitems_validation_response_body_for_content_types**](../../paths/response_body_post_minitems_validation_response_body_for_content_types/post.md) |
7072
[**post_minlength_validation_response_body_for_content_types**](../../paths/response_body_post_minlength_validation_response_body_for_content_types/post.md) |
7173
[**post_minproperties_validation_response_body_for_content_types**](../../paths/response_body_post_minproperties_validation_response_body_for_content_types/post.md) |
74+
[**post_multiple_dependents_required_response_body_for_content_types**](../../paths/response_body_post_multiple_dependents_required_response_body_for_content_types/post.md) |
7275
[**post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types**](../../paths/response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post.md) |
7376
[**post_nested_allof_to_check_validation_semantics_response_body_for_content_types**](../../paths/response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post.md) |
7477
[**post_nested_anyof_to_check_validation_semantics_response_body_for_content_types**](../../paths/response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post.md) |
@@ -101,6 +104,7 @@ Method | Description
101104
[**post_required_with_empty_array_response_body_for_content_types**](../../paths/response_body_post_required_with_empty_array_response_body_for_content_types/post.md) |
102105
[**post_required_with_escaped_characters_response_body_for_content_types**](../../paths/response_body_post_required_with_escaped_characters_response_body_for_content_types/post.md) |
103106
[**post_simple_enum_validation_response_body_for_content_types**](../../paths/response_body_post_simple_enum_validation_response_body_for_content_types/post.md) |
107+
[**post_single_dependency_response_body_for_content_types**](../../paths/response_body_post_single_dependency_response_body_for_content_types/post.md) |
104108
[**post_small_multiple_of_large_integer_response_body_for_content_types**](../../paths/response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post.md) |
105109
[**post_string_type_matches_strings_response_body_for_content_types**](../../paths/response_body_post_string_type_matches_strings_response_body_for_content_types/post.md) |
106110
[**post_time_format_response_body_for_content_types**](../../paths/response_body_post_time_format_response_body_for_content_types/post.md) |
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# DependenciesWithEscapedCharacters
2+
unit_test_api.components.schema.dependencies_with_escaped_characters
3+
```
4+
type: schemas.Schema
5+
```
6+
7+
## validate method
8+
Input Type | Return Type | Notes
9+
------------ | ------------- | -------------
10+
dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | schemas.immutabledict, str, float, int, bool, None, tuple, bytes, io.FileIO |
11+
12+
[[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# EmptyDependents
2+
unit_test_api.components.schema.empty_dependents
3+
```
4+
type: schemas.Schema
5+
```
6+
7+
## validate method
8+
Input Type | Return Type | Notes
9+
------------ | ------------- | -------------
10+
dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | schemas.immutabledict, str, float, int, bool, None, tuple, bytes, io.FileIO |
11+
12+
[[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# MultipleDependentsRequired
2+
unit_test_api.components.schema.multiple_dependents_required
3+
```
4+
type: schemas.Schema
5+
```
6+
7+
## validate method
8+
Input Type | Return Type | Notes
9+
------------ | ------------- | -------------
10+
dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | schemas.immutabledict, str, float, int, bool, None, tuple, bytes, io.FileIO |
11+
12+
[[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md)

0 commit comments

Comments
 (0)