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

Commit 6c7117d

Browse files
committed
Adds contains test cases
1 parent bdf3d1f commit 6c7117d

107 files changed

Lines changed: 3358 additions & 217 deletions

File tree

Some content is hidden

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

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

Lines changed: 98 additions & 0 deletions
Large diffs are not rendered by default.

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

Lines changed: 9 additions & 0 deletions
Large diffs are not rendered by default.
Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,19 @@
1+
<a name="top"></a>
2+
unit_test_api.apis.tags.contains_api
3+
# ContainsApi
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_contains_keyword_validation_request_body**](../../paths/request_body_post_contains_keyword_validation_request_body/post.md) |
13+
[**post_contains_keyword_validation_response_body_for_content_types**](../../paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post.md) |
14+
[**post_contains_with_null_instance_elements_request_body**](../../paths/request_body_post_contains_with_null_instance_elements_request_body/post.md) |
15+
[**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) |
16+
[**post_items_contains_request_body**](../../paths/request_body_post_items_contains_request_body/post.md) |
17+
[**post_items_contains_response_body_for_content_types**](../../paths/response_body_post_items_contains_response_body_for_content_types/post.md) |
18+
19+
[[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/content_type_json_api.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ Method | Description
5555
[**post_by_small_number_response_body_for_content_types**](../../paths/response_body_post_by_small_number_response_body_for_content_types/post.md) |
5656
[**post_const_nul_characters_in_strings_request_body**](../../paths/request_body_post_const_nul_characters_in_strings_request_body/post.md) |
5757
[**post_const_nul_characters_in_strings_response_body_for_content_types**](../../paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post.md) |
58+
[**post_contains_keyword_validation_request_body**](../../paths/request_body_post_contains_keyword_validation_request_body/post.md) |
59+
[**post_contains_keyword_validation_response_body_for_content_types**](../../paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post.md) |
60+
[**post_contains_with_null_instance_elements_request_body**](../../paths/request_body_post_contains_with_null_instance_elements_request_body/post.md) |
61+
[**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) |
5862
[**post_date_format_request_body**](../../paths/request_body_post_date_format_request_body/post.md) |
5963
[**post_date_format_response_body_for_content_types**](../../paths/response_body_post_date_format_response_body_for_content_types/post.md) |
6064
[**post_date_time_format_request_body**](../../paths/request_body_post_date_time_format_request_body/post.md) |
@@ -95,6 +99,8 @@ Method | Description
9599
[**post_iri_format_response_body_for_content_types**](../../paths/response_body_post_iri_format_response_body_for_content_types/post.md) |
96100
[**post_iri_reference_format_request_body**](../../paths/request_body_post_iri_reference_format_request_body/post.md) |
97101
[**post_iri_reference_format_response_body_for_content_types**](../../paths/response_body_post_iri_reference_format_response_body_for_content_types/post.md) |
102+
[**post_items_contains_request_body**](../../paths/request_body_post_items_contains_request_body/post.md) |
103+
[**post_items_contains_response_body_for_content_types**](../../paths/response_body_post_items_contains_response_body_for_content_types/post.md) |
98104
[**post_items_does_not_look_in_applicators_valid_case_request_body**](../../paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post.md) |
99105
[**post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types**](../../paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post.md) |
100106
[**post_items_with_null_instance_elements_request_body**](../../paths/request_body_post_items_with_null_instance_elements_request_body/post.md) |

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Method | Description
3232
[**post_by_number_request_body**](../../paths/request_body_post_by_number_request_body/post.md) |
3333
[**post_by_small_number_request_body**](../../paths/request_body_post_by_small_number_request_body/post.md) |
3434
[**post_const_nul_characters_in_strings_request_body**](../../paths/request_body_post_const_nul_characters_in_strings_request_body/post.md) |
35+
[**post_contains_keyword_validation_request_body**](../../paths/request_body_post_contains_keyword_validation_request_body/post.md) |
36+
[**post_contains_with_null_instance_elements_request_body**](../../paths/request_body_post_contains_with_null_instance_elements_request_body/post.md) |
3537
[**post_date_format_request_body**](../../paths/request_body_post_date_format_request_body/post.md) |
3638
[**post_date_time_format_request_body**](../../paths/request_body_post_date_time_format_request_body/post.md) |
3739
[**post_duration_format_request_body**](../../paths/request_body_post_duration_format_request_body/post.md) |
@@ -52,6 +54,7 @@ Method | Description
5254
[**post_ipv6_format_request_body**](../../paths/request_body_post_ipv6_format_request_body/post.md) |
5355
[**post_iri_format_request_body**](../../paths/request_body_post_iri_format_request_body/post.md) |
5456
[**post_iri_reference_format_request_body**](../../paths/request_body_post_iri_reference_format_request_body/post.md) |
57+
[**post_items_contains_request_body**](../../paths/request_body_post_items_contains_request_body/post.md) |
5558
[**post_items_does_not_look_in_applicators_valid_case_request_body**](../../paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post.md) |
5659
[**post_items_with_null_instance_elements_request_body**](../../paths/request_body_post_items_with_null_instance_elements_request_body/post.md) |
5760
[**post_json_pointer_format_request_body**](../../paths/request_body_post_json_pointer_format_request_body/post.md) |

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

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@ Method | Description
5555
[**post_by_small_number_response_body_for_content_types**](../../paths/response_body_post_by_small_number_response_body_for_content_types/post.md) |
5656
[**post_const_nul_characters_in_strings_request_body**](../../paths/request_body_post_const_nul_characters_in_strings_request_body/post.md) |
5757
[**post_const_nul_characters_in_strings_response_body_for_content_types**](../../paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post.md) |
58+
[**post_contains_keyword_validation_request_body**](../../paths/request_body_post_contains_keyword_validation_request_body/post.md) |
59+
[**post_contains_keyword_validation_response_body_for_content_types**](../../paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post.md) |
60+
[**post_contains_with_null_instance_elements_request_body**](../../paths/request_body_post_contains_with_null_instance_elements_request_body/post.md) |
61+
[**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) |
5862
[**post_date_format_request_body**](../../paths/request_body_post_date_format_request_body/post.md) |
5963
[**post_date_format_response_body_for_content_types**](../../paths/response_body_post_date_format_response_body_for_content_types/post.md) |
6064
[**post_date_time_format_request_body**](../../paths/request_body_post_date_time_format_request_body/post.md) |
@@ -95,6 +99,8 @@ Method | Description
9599
[**post_iri_format_response_body_for_content_types**](../../paths/response_body_post_iri_format_response_body_for_content_types/post.md) |
96100
[**post_iri_reference_format_request_body**](../../paths/request_body_post_iri_reference_format_request_body/post.md) |
97101
[**post_iri_reference_format_response_body_for_content_types**](../../paths/response_body_post_iri_reference_format_response_body_for_content_types/post.md) |
102+
[**post_items_contains_request_body**](../../paths/request_body_post_items_contains_request_body/post.md) |
103+
[**post_items_contains_response_body_for_content_types**](../../paths/response_body_post_items_contains_response_body_for_content_types/post.md) |
98104
[**post_items_does_not_look_in_applicators_valid_case_request_body**](../../paths/request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post.md) |
99105
[**post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types**](../../paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post.md) |
100106
[**post_items_with_null_instance_elements_request_body**](../../paths/request_body_post_items_with_null_instance_elements_request_body/post.md) |

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,8 @@ Method | Description
3232
[**post_by_number_response_body_for_content_types**](../../paths/response_body_post_by_number_response_body_for_content_types/post.md) |
3333
[**post_by_small_number_response_body_for_content_types**](../../paths/response_body_post_by_small_number_response_body_for_content_types/post.md) |
3434
[**post_const_nul_characters_in_strings_response_body_for_content_types**](../../paths/response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post.md) |
35+
[**post_contains_keyword_validation_response_body_for_content_types**](../../paths/response_body_post_contains_keyword_validation_response_body_for_content_types/post.md) |
36+
[**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) |
3537
[**post_date_format_response_body_for_content_types**](../../paths/response_body_post_date_format_response_body_for_content_types/post.md) |
3638
[**post_date_time_format_response_body_for_content_types**](../../paths/response_body_post_date_time_format_response_body_for_content_types/post.md) |
3739
[**post_duration_format_response_body_for_content_types**](../../paths/response_body_post_duration_format_response_body_for_content_types/post.md) |
@@ -52,6 +54,7 @@ Method | Description
5254
[**post_ipv6_format_response_body_for_content_types**](../../paths/response_body_post_ipv6_format_response_body_for_content_types/post.md) |
5355
[**post_iri_format_response_body_for_content_types**](../../paths/response_body_post_iri_format_response_body_for_content_types/post.md) |
5456
[**post_iri_reference_format_response_body_for_content_types**](../../paths/response_body_post_iri_reference_format_response_body_for_content_types/post.md) |
57+
[**post_items_contains_response_body_for_content_types**](../../paths/response_body_post_items_contains_response_body_for_content_types/post.md) |
5558
[**post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types**](../../paths/response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post.md) |
5659
[**post_items_with_null_instance_elements_response_body_for_content_types**](../../paths/response_body_post_items_with_null_instance_elements_response_body_for_content_types/post.md) |
5760
[**post_json_pointer_format_response_body_for_content_types**](../../paths/response_body_post_json_pointer_format_response_body_for_content_types/post.md) |
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ContainsKeywordValidation
2+
unit_test_api.components.schema.contains_keyword_validation
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)
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
# ContainsWithNullInstanceElements
2+
unit_test_api.components.schema.contains_with_null_instance_elements
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)
Lines changed: 52 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,52 @@
1+
# ItemsContains
2+
unit_test_api.components.schema.items_contains
3+
```
4+
type: schemas.Schema
5+
```
6+
7+
## validate method
8+
Input Type | Return Type | Notes
9+
------------ | ------------- | -------------
10+
[ItemsContainsTupleInput](#itemscontainstupleinput), [ItemsContainsTuple](#itemscontainstuple) | [ItemsContainsTuple](#itemscontainstuple) |
11+
12+
## ItemsContainsTupleInput
13+
```
14+
type: typing.Union[
15+
typing.List[
16+
typing.Union[
17+
schemas.INPUT_TYPES_ALL,
18+
schemas.OUTPUT_BASE_TYPES
19+
],
20+
],
21+
typing.Tuple[
22+
typing.Union[
23+
schemas.INPUT_TYPES_ALL,
24+
schemas.OUTPUT_BASE_TYPES
25+
],
26+
...
27+
]
28+
]
29+
```
30+
List/Tuple Item Type | Description | Notes
31+
-------------------- | ------------- | -------------
32+
dict, schemas.immutabledict, str, datetime.date, datetime.datetime, uuid.UUID, int, float, bool, None, list, tuple, bytes, io.FileIO, io.BufferedReader | |
33+
34+
## ItemsContainsTuple
35+
```
36+
base class: typing.Tuple[
37+
schemas.OUTPUT_BASE_TYPES,
38+
...
39+
]
40+
```
41+
### &lowbar;&lowbar;new&lowbar;&lowbar; method
42+
Argument | Type
43+
-------- | ------
44+
arg | [ItemsContainsTupleInput](#itemscontainstupleinput), [ItemsContainsTuple](#itemscontainstuple)
45+
configuration | typing.Optional[schema_configuration.SchemaConfiguration] = None
46+
47+
### methods
48+
Method | Input Type | Return Type | Notes
49+
------ | ---------- | ----------- | ------
50+
&lowbar;&lowbar;getitem&lowbar;&lowbar; | int | schemas.immutabledict, str, float, int, bool, None, tuple, bytes, io.FileIO | This method is used under the hood when instance[0] is called
51+
52+
[[Back to top]](#top) [[Back to Component Schemas]](../../../README.md#Component-Schemas) [[Back to README]](../../../README.md)

0 commit comments

Comments
 (0)