This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Commit 5f9910d
authored
[python-experimental] reduces python version (#13481)
* Removes classmethod property combinations
* Changes python version to 3.8
* Changes python version to 3.7
* Tests fixed
* Samples updated
* Adds getAddSuffixToDuplicateOperationNickname and uses it in python-exp, samples regenerated
* test_paths regenerated
* Fixes bug
* Adds typing_extensions requirement1 parent fa51d8b commit 5f9910d
File tree
954 files changed
+3800
-3009
lines changed- docs/generators
- modules/openapi-generator/src/main
- java/org/openapitools/codegen
- languages
- resources/python-experimental
- model_templates
- samples/openapi3/client
- 3_0_3_unit_test/python-experimental
- test/test_paths
- unit_test_api
- apis
- model
- paths
- request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body
- request_body_post_additionalproperties_are_allowed_by_default_request_body
- request_body_post_additionalproperties_can_exist_by_itself_request_body
- request_body_post_additionalproperties_should_not_look_in_applicators_request_body
- request_body_post_allof_combined_with_anyof_oneof_request_body
- request_body_post_allof_request_body
- request_body_post_allof_simple_types_request_body
- request_body_post_allof_with_base_schema_request_body
- request_body_post_allof_with_one_empty_schema_request_body
- request_body_post_allof_with_the_first_empty_schema_request_body
- request_body_post_allof_with_the_last_empty_schema_request_body
- request_body_post_allof_with_two_empty_schemas_request_body
- request_body_post_anyof_complex_types_request_body
- request_body_post_anyof_request_body
- request_body_post_anyof_with_base_schema_request_body
- request_body_post_anyof_with_one_empty_schema_request_body
- request_body_post_array_type_matches_arrays_request_body
- request_body_post_boolean_type_matches_booleans_request_body
- request_body_post_by_int_request_body
- request_body_post_by_number_request_body
- request_body_post_by_small_number_request_body
- request_body_post_date_time_format_request_body
- request_body_post_email_format_request_body
- request_body_post_enum_with0_does_not_match_false_request_body
- request_body_post_enum_with1_does_not_match_true_request_body
- request_body_post_enum_with_escaped_characters_request_body
- request_body_post_enum_with_false_does_not_match0_request_body
- request_body_post_enum_with_true_does_not_match1_request_body
- request_body_post_enums_in_properties_request_body
- request_body_post_forbidden_property_request_body
- request_body_post_hostname_format_request_body
- request_body_post_integer_type_matches_integers_request_body
- request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body
- request_body_post_invalid_string_value_for_default_request_body
- request_body_post_ipv4_format_request_body
- request_body_post_ipv6_format_request_body
- request_body_post_json_pointer_format_request_body
- request_body_post_maximum_validation_request_body
- request_body_post_maximum_validation_with_unsigned_integer_request_body
- request_body_post_maxitems_validation_request_body
- request_body_post_maxlength_validation_request_body
- request_body_post_maxproperties0_means_the_object_is_empty_request_body
- request_body_post_maxproperties_validation_request_body
- request_body_post_minimum_validation_request_body
- request_body_post_minimum_validation_with_signed_integer_request_body
- request_body_post_minitems_validation_request_body
- request_body_post_minlength_validation_request_body
- request_body_post_minproperties_validation_request_body
- request_body_post_nested_allof_to_check_validation_semantics_request_body
- request_body_post_nested_anyof_to_check_validation_semantics_request_body
- request_body_post_nested_items_request_body
- request_body_post_nested_oneof_to_check_validation_semantics_request_body
- request_body_post_not_more_complex_schema_request_body
- request_body_post_not_request_body
- request_body_post_nul_characters_in_strings_request_body
- request_body_post_null_type_matches_only_the_null_object_request_body
- request_body_post_number_type_matches_numbers_request_body
- request_body_post_object_properties_validation_request_body
- request_body_post_object_type_matches_objects_request_body
- request_body_post_oneof_complex_types_request_body
- request_body_post_oneof_request_body
- request_body_post_oneof_with_base_schema_request_body
- request_body_post_oneof_with_empty_schema_request_body
- request_body_post_oneof_with_required_request_body
- request_body_post_pattern_is_not_anchored_request_body
- request_body_post_pattern_validation_request_body
- request_body_post_properties_with_escaped_characters_request_body
- request_body_post_property_named_ref_that_is_not_a_reference_request_body
- request_body_post_ref_in_additionalproperties_request_body
- request_body_post_ref_in_allof_request_body
- request_body_post_ref_in_anyof_request_body
- request_body_post_ref_in_items_request_body
- request_body_post_ref_in_not_request_body
- request_body_post_ref_in_oneof_request_body
- request_body_post_ref_in_property_request_body
- request_body_post_required_default_validation_request_body
- request_body_post_required_validation_request_body
- request_body_post_required_with_empty_array_request_body
- request_body_post_required_with_escaped_characters_request_body
- request_body_post_simple_enum_validation_request_body
- request_body_post_string_type_matches_strings_request_body
- request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body
- request_body_post_uniqueitems_false_validation_request_body
- request_body_post_uniqueitems_validation_request_body
- request_body_post_uri_format_request_body
- request_body_post_uri_reference_format_request_body
- request_body_post_uri_template_format_request_body
- response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types
- response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types
- response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types
- response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types
- response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types
- response_body_post_allof_response_body_for_content_types
- response_body_post_allof_simple_types_response_body_for_content_types
- response_body_post_allof_with_base_schema_response_body_for_content_types
- response_body_post_allof_with_one_empty_schema_response_body_for_content_types
- response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types
- response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types
- response_body_post_allof_with_two_empty_schemas_response_body_for_content_types
- response_body_post_anyof_complex_types_response_body_for_content_types
- response_body_post_anyof_response_body_for_content_types
- response_body_post_anyof_with_base_schema_response_body_for_content_types
- response_body_post_anyof_with_one_empty_schema_response_body_for_content_types
- response_body_post_array_type_matches_arrays_response_body_for_content_types
- response_body_post_boolean_type_matches_booleans_response_body_for_content_types
- response_body_post_by_int_response_body_for_content_types
- response_body_post_by_number_response_body_for_content_types
- response_body_post_by_small_number_response_body_for_content_types
- response_body_post_date_time_format_response_body_for_content_types
- response_body_post_email_format_response_body_for_content_types
- response_body_post_enum_with0_does_not_match_false_response_body_for_content_types
- response_body_post_enum_with1_does_not_match_true_response_body_for_content_types
- response_body_post_enum_with_escaped_characters_response_body_for_content_types
- response_body_post_enum_with_false_does_not_match0_response_body_for_content_types
- response_body_post_enum_with_true_does_not_match1_response_body_for_content_types
- response_body_post_enums_in_properties_response_body_for_content_types
- response_body_post_forbidden_property_response_body_for_content_types
- response_body_post_hostname_format_response_body_for_content_types
- response_body_post_integer_type_matches_integers_response_body_for_content_types
- response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types
- response_body_post_invalid_string_value_for_default_response_body_for_content_types
- response_body_post_ipv4_format_response_body_for_content_types
- response_body_post_ipv6_format_response_body_for_content_types
- response_body_post_json_pointer_format_response_body_for_content_types
- response_body_post_maximum_validation_response_body_for_content_types
- response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types
- response_body_post_maxitems_validation_response_body_for_content_types
- response_body_post_maxlength_validation_response_body_for_content_types
- response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types
- response_body_post_maxproperties_validation_response_body_for_content_types
- response_body_post_minimum_validation_response_body_for_content_types
- response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types
- response_body_post_minitems_validation_response_body_for_content_types
- response_body_post_minlength_validation_response_body_for_content_types
- response_body_post_minproperties_validation_response_body_for_content_types
- response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types
- response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types
- response_body_post_nested_items_response_body_for_content_types
- response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types
- response_body_post_not_more_complex_schema_response_body_for_content_types
- response_body_post_not_response_body_for_content_types
- response_body_post_nul_characters_in_strings_response_body_for_content_types
- response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types
- response_body_post_number_type_matches_numbers_response_body_for_content_types
- response_body_post_object_properties_validation_response_body_for_content_types
- response_body_post_object_type_matches_objects_response_body_for_content_types
- response_body_post_oneof_complex_types_response_body_for_content_types
- response_body_post_oneof_response_body_for_content_types
- response_body_post_oneof_with_base_schema_response_body_for_content_types
- response_body_post_oneof_with_empty_schema_response_body_for_content_types
- response_body_post_oneof_with_required_response_body_for_content_types
- response_body_post_pattern_is_not_anchored_response_body_for_content_types
- response_body_post_pattern_validation_response_body_for_content_types
- response_body_post_properties_with_escaped_characters_response_body_for_content_types
- response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types
- response_body_post_ref_in_additionalproperties_response_body_for_content_types
- response_body_post_ref_in_allof_response_body_for_content_types
- response_body_post_ref_in_anyof_response_body_for_content_types
- response_body_post_ref_in_items_response_body_for_content_types
- response_body_post_ref_in_not_response_body_for_content_types
- response_body_post_ref_in_oneof_response_body_for_content_types
- response_body_post_ref_in_property_response_body_for_content_types
- response_body_post_required_default_validation_response_body_for_content_types
- response_body_post_required_validation_response_body_for_content_types
- response_body_post_required_with_empty_array_response_body_for_content_types
- response_body_post_required_with_escaped_characters_response_body_for_content_types
- response_body_post_simple_enum_validation_response_body_for_content_types
- response_body_post_string_type_matches_strings_response_body_for_content_types
- response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types
- response_body_post_uniqueitems_false_validation_response_body_for_content_types
- response_body_post_uniqueitems_validation_response_body_for_content_types
- response_body_post_uri_format_response_body_for_content_types
- response_body_post_uri_reference_format_response_body_for_content_types
- response_body_post_uri_template_format_response_body_for_content_types
- petstore/python-experimental
- petstore_api
- apis
- paths
- tags
- model
- paths
- another_fake_dummy
- fake_1
- fake_2
- fake_3
- fake_additional_properties_with_array_of_enums
- fake_body_with_file_schema
- fake_body_with_query_params
- fake_case_sensitive_params
- fake_classname_test
- fake_delete_coffee_id
- fake_health
- fake_inline_additional_properties
- fake_inline_composition_
- fake_json_form_data
- fake_json_patch
- fake_json_with_charset
- fake_obj_in_query
- fake_parameter_collisions_1_a_b_ab_self_a_b_
- fake_pet_id_upload_image_with_required_file
- fake_ref_obj_in_query
- fake_refs_array_of_enums
- fake_refs_arraymodel
- fake_refs_boolean
- fake_refs_composed_one_of_number_with_validations
- fake_refs_enum
- fake_refs_mammal
- fake_refs_number
- fake_refs_object_model_with_ref_props
- fake_refs_string
- fake_response_without_schema
- fake_test_query_paramters
- fake_upload_download_file
- fake_upload_files
- fake_upload_file
- fake
- foo
- pet_2
- pet_find_by_status
- pet_find_by_tags
- pet_pet_id_1
- pet_pet_id_3
- pet_pet_id_upload_image
- pet_pet_id
- pet
- store_inventory
- store_order_order_id_1
- store_order_order_id
- store_order
- user_create_with_array
- user_create_with_list
- user_login
- user_logout
- user_username_1
- user_username_2
- user_username
- user
- tests_manual
- test/test_paths
- test_fake_1
- test_fake_2
- test_fake_3
- test_fake
- test_pet_2
- test_pet_pet_id_1
- test_pet_pet_id_3
- test_pet_pet_id
- test_pet
- test_store_order_order_id_1
- test_store_order_order_id
- test_user_username_1
- test_user_username_2
- test_user_username
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
954 files changed
+3800
-3009
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
| |||
Lines changed: 2 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
328 | 328 | | |
329 | 329 | | |
330 | 330 | | |
| 331 | + | |
| 332 | + | |
331 | 333 | | |
Lines changed: 6 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
297 | 297 | | |
298 | 298 | | |
299 | 299 | | |
| 300 | + | |
| 301 | + | |
| 302 | + | |
| 303 | + | |
| 304 | + | |
| 305 | + | |
300 | 306 | | |
301 | 307 | | |
302 | 308 | | |
| |||
Lines changed: 11 additions & 9 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1200 | 1200 | | |
1201 | 1201 | | |
1202 | 1202 | | |
1203 | | - | |
1204 | | - | |
1205 | | - | |
1206 | | - | |
1207 | | - | |
1208 | | - | |
1209 | | - | |
1210 | | - | |
| 1203 | + | |
| 1204 | + | |
| 1205 | + | |
| 1206 | + | |
| 1207 | + | |
| 1208 | + | |
| 1209 | + | |
| 1210 | + | |
| 1211 | + | |
| 1212 | + | |
| 1213 | + | |
1211 | 1214 | | |
1212 | | - | |
1213 | 1215 | | |
1214 | 1216 | | |
1215 | 1217 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
23 | | - | |
24 | 23 | | |
25 | 24 | | |
26 | 25 | | |
| |||
112 | 111 | | |
113 | 112 | | |
114 | 113 | | |
| 114 | + | |
115 | 115 | | |
116 | 116 | | |
117 | 117 | | |
| |||
2638 | 2638 | | |
2639 | 2639 | | |
2640 | 2640 | | |
2641 | | - | |
| 2641 | + | |
2642 | 2642 | | |
2643 | 2643 | | |
2644 | 2644 | | |
| |||
Lines changed: 10 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
18 | 18 | | |
19 | 19 | | |
20 | 20 | | |
21 | | - | |
22 | | - | |
23 | 21 | | |
24 | 22 | | |
25 | 23 | | |
| |||
60 | 58 | | |
61 | 59 | | |
62 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
63 | 71 | | |
64 | 72 | | |
65 | 73 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
50 | 50 | | |
51 | 51 | | |
52 | 52 | | |
53 | | - | |
| 53 | + | |
54 | 54 | | |
55 | 55 | | |
56 | 56 | | |
| |||
Lines changed: 6 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
13 | 13 | | |
14 | 14 | | |
15 | 15 | | |
| 16 | + | |
16 | 17 | | |
17 | 18 | | |
18 | 19 | | |
| |||
704 | 705 | | |
705 | 706 | | |
706 | 707 | | |
707 | | - | |
| 708 | + | |
708 | 709 | | |
709 | 710 | | |
710 | 711 | | |
| |||
716 | 717 | | |
717 | 718 | | |
718 | 719 | | |
719 | | - | |
| 720 | + | |
720 | 721 | | |
721 | 722 | | |
722 | 723 | | |
| |||
1270 | 1271 | | |
1271 | 1272 | | |
1272 | 1273 | | |
1273 | | - | |
| 1274 | + | |
1274 | 1275 | | |
1275 | 1276 | | |
1276 | 1277 | | |
| |||
1342 | 1343 | | |
1343 | 1344 | | |
1344 | 1345 | | |
1345 | | - | |
| 1346 | + | |
1346 | 1347 | | |
1347 | | - | |
| 1348 | + | |
1348 | 1349 | | |
1349 | 1350 | | |
1350 | 1351 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
Lines changed: 2 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | | - | |
| 1 | + | |
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
8 | | - | |
| 8 | + | |
9 | 9 | | |
10 | 10 | | |
11 | 11 | | |
| |||
0 commit comments