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

Commit d491313

Browse files
authored
Fixes mypy errors in user document (#250)
* Fixes two ApiResponse errors * Samples regen * Fixes added schema, makes it object type
1 parent 8373467 commit d491313

File tree

659 files changed

+6082
-2426
lines changed
  • samples/client
    • 3_0_3_unit_test/python/src/unit_test_api
      • components/schema
      • paths
        • request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post/responses/response_200
        • request_body_post_additionalproperties_are_allowed_by_default_request_body/post/responses/response_200
        • request_body_post_additionalproperties_can_exist_by_itself_request_body/post/responses/response_200
        • request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/responses/response_200
        • request_body_post_allof_combined_with_anyof_oneof_request_body/post/responses/response_200
        • request_body_post_allof_request_body/post/responses/response_200
        • request_body_post_allof_simple_types_request_body/post/responses/response_200
        • request_body_post_allof_with_base_schema_request_body/post/responses/response_200
        • request_body_post_allof_with_one_empty_schema_request_body/post/responses/response_200
        • request_body_post_allof_with_the_first_empty_schema_request_body/post/responses/response_200
        • request_body_post_allof_with_the_last_empty_schema_request_body/post/responses/response_200
        • request_body_post_allof_with_two_empty_schemas_request_body/post/responses/response_200
        • request_body_post_anyof_complex_types_request_body/post/responses/response_200
        • request_body_post_anyof_request_body/post/responses/response_200
        • request_body_post_anyof_with_base_schema_request_body/post/responses/response_200
        • request_body_post_anyof_with_one_empty_schema_request_body/post/responses/response_200
        • request_body_post_array_type_matches_arrays_request_body/post/responses/response_200
        • request_body_post_boolean_type_matches_booleans_request_body/post/responses/response_200
        • request_body_post_by_int_request_body/post/responses/response_200
        • request_body_post_by_number_request_body/post/responses/response_200
        • request_body_post_by_small_number_request_body/post/responses/response_200
        • request_body_post_date_time_format_request_body/post/responses/response_200
        • request_body_post_email_format_request_body/post/responses/response_200
        • request_body_post_enum_with0_does_not_match_false_request_body/post/responses/response_200
        • request_body_post_enum_with1_does_not_match_true_request_body/post/responses/response_200
        • request_body_post_enum_with_escaped_characters_request_body/post/responses/response_200
        • request_body_post_enum_with_false_does_not_match0_request_body/post/responses/response_200
        • request_body_post_enum_with_true_does_not_match1_request_body/post/responses/response_200
        • request_body_post_enums_in_properties_request_body/post/responses/response_200
        • request_body_post_forbidden_property_request_body/post/responses/response_200
        • request_body_post_hostname_format_request_body/post/responses/response_200
        • request_body_post_integer_type_matches_integers_request_body/post/responses/response_200
        • request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/responses/response_200
        • request_body_post_invalid_string_value_for_default_request_body/post/responses/response_200
        • request_body_post_ipv4_format_request_body/post/responses/response_200
        • request_body_post_ipv6_format_request_body/post/responses/response_200
        • request_body_post_json_pointer_format_request_body/post/responses/response_200
        • request_body_post_maximum_validation_request_body/post/responses/response_200
        • request_body_post_maximum_validation_with_unsigned_integer_request_body/post/responses/response_200
        • request_body_post_maxitems_validation_request_body/post/responses/response_200
        • request_body_post_maxlength_validation_request_body/post/responses/response_200
        • request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/responses/response_200
        • request_body_post_maxproperties_validation_request_body/post/responses/response_200
        • request_body_post_minimum_validation_request_body/post/responses/response_200
        • request_body_post_minimum_validation_with_signed_integer_request_body/post/responses/response_200
        • request_body_post_minitems_validation_request_body/post/responses/response_200
        • request_body_post_minlength_validation_request_body/post/responses/response_200
        • request_body_post_minproperties_validation_request_body/post/responses/response_200
        • request_body_post_nested_allof_to_check_validation_semantics_request_body/post/responses/response_200
        • request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/responses/response_200
        • request_body_post_nested_items_request_body/post/responses/response_200
        • request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/responses/response_200
        • request_body_post_not_more_complex_schema_request_body/post/responses/response_200
        • request_body_post_not_request_body/post/responses/response_200
        • request_body_post_nul_characters_in_strings_request_body/post/responses/response_200
        • request_body_post_null_type_matches_only_the_null_object_request_body/post/responses/response_200
        • request_body_post_number_type_matches_numbers_request_body/post/responses/response_200
        • request_body_post_object_properties_validation_request_body/post/responses/response_200
        • request_body_post_object_type_matches_objects_request_body/post/responses/response_200
        • request_body_post_oneof_complex_types_request_body/post/responses/response_200
        • request_body_post_oneof_request_body/post/responses/response_200
        • request_body_post_oneof_with_base_schema_request_body/post/responses/response_200
        • request_body_post_oneof_with_empty_schema_request_body/post/responses/response_200
        • request_body_post_oneof_with_required_request_body/post/responses/response_200
        • request_body_post_pattern_is_not_anchored_request_body/post/responses/response_200
        • request_body_post_pattern_validation_request_body/post/responses/response_200
        • request_body_post_properties_with_escaped_characters_request_body/post/responses/response_200
        • request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/responses/response_200
        • request_body_post_ref_in_additionalproperties_request_body/post/responses/response_200
        • request_body_post_ref_in_allof_request_body/post/responses/response_200
        • request_body_post_ref_in_anyof_request_body/post/responses/response_200
        • request_body_post_ref_in_items_request_body/post/responses/response_200
        • request_body_post_ref_in_not_request_body/post/responses/response_200
        • request_body_post_ref_in_oneof_request_body/post/responses/response_200
        • request_body_post_ref_in_property_request_body/post/responses/response_200
        • request_body_post_required_default_validation_request_body/post/responses/response_200
        • request_body_post_required_validation_request_body/post/responses/response_200
        • request_body_post_required_with_empty_array_request_body/post/responses/response_200
        • request_body_post_required_with_escaped_characters_request_body/post/responses/response_200
        • request_body_post_simple_enum_validation_request_body/post/responses/response_200
        • request_body_post_string_type_matches_strings_request_body/post/responses/response_200
        • request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/responses/response_200
        • request_body_post_uniqueitems_false_validation_request_body/post/responses/response_200
        • request_body_post_uniqueitems_validation_request_body/post/responses/response_200
        • request_body_post_uri_format_request_body/post/responses/response_200
        • request_body_post_uri_reference_format_request_body/post/responses/response_200
        • request_body_post_uri_template_format_request_body/post/responses/response_200
        • response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/responses/response_200
        • response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200
        • response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200
        • response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200
        • response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200
        • response_body_post_anyof_response_body_for_content_types/post/responses/response_200
        • response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200
        • response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200
        • response_body_post_by_int_response_body_for_content_types/post/responses/response_200
        • response_body_post_by_number_response_body_for_content_types/post/responses/response_200
        • response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200
        • response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_email_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200
        • response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200
        • response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200
        • response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200
        • response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200
        • response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200
        • response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200
        • response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200
        • response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/responses/response_200
        • response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/responses/response_200
        • response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200
        • response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200
        • response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200
        • response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200
        • response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200
        • response_body_post_nested_items_response_body_for_content_types/post/responses/response_200
        • response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200
        • response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_not_response_body_for_content_types/post/responses/response_200
        • response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200
        • response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200
        • response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200
        • response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200
        • response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200
        • response_body_post_oneof_response_body_for_content_types/post/responses/response_200
        • response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200
        • response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200
        • response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200
        • response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200
        • response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/responses/response_200
        • response_body_post_ref_in_allof_response_body_for_content_types/post/responses/response_200
        • response_body_post_ref_in_anyof_response_body_for_content_types/post/responses/response_200
        • response_body_post_ref_in_items_response_body_for_content_types/post/responses/response_200
        • response_body_post_ref_in_not_response_body_for_content_types/post/responses/response_200
        • response_body_post_ref_in_oneof_response_body_for_content_types/post/responses/response_200
        • response_body_post_ref_in_property_response_body_for_content_types/post/responses/response_200
        • response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_required_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200
        • response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200
        • response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200
        • response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/responses/response_200
        • response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_uri_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200
    • 3_1_0_json_schema/python/src/json_schema_api
    • 3_1_0_unit_test/python/src/unit_test_api
      • components/schema
      • paths
        • request_body_post_a_schema_given_for_prefixitems_request_body/post/responses/response_200
        • request_body_post_additional_items_are_allowed_by_default_request_body/post/responses/response_200
        • request_body_post_additionalproperties_are_allowed_by_default_request_body/post/responses/response_200
        • request_body_post_additionalproperties_can_exist_by_itself_request_body/post/responses/response_200
        • request_body_post_additionalproperties_does_not_look_in_applicators_request_body/post/responses/response_200
        • request_body_post_additionalproperties_with_null_valued_instance_properties_request_body/post/responses/response_200
        • request_body_post_additionalproperties_with_schema_request_body/post/responses/response_200
        • request_body_post_allof_combined_with_anyof_oneof_request_body/post/responses/response_200
        • request_body_post_allof_request_body/post/responses/response_200
        • request_body_post_allof_simple_types_request_body/post/responses/response_200
        • request_body_post_allof_with_base_schema_request_body/post/responses/response_200
        • request_body_post_allof_with_one_empty_schema_request_body/post/responses/response_200
        • request_body_post_allof_with_the_first_empty_schema_request_body/post/responses/response_200
        • request_body_post_allof_with_the_last_empty_schema_request_body/post/responses/response_200
        • request_body_post_allof_with_two_empty_schemas_request_body/post/responses/response_200
        • request_body_post_anyof_complex_types_request_body/post/responses/response_200
        • request_body_post_anyof_request_body/post/responses/response_200
        • request_body_post_anyof_with_base_schema_request_body/post/responses/response_200
        • request_body_post_anyof_with_one_empty_schema_request_body/post/responses/response_200
        • request_body_post_array_type_matches_arrays_request_body/post/responses/response_200
        • request_body_post_boolean_type_matches_booleans_request_body/post/responses/response_200
        • request_body_post_by_int_request_body/post/responses/response_200
        • request_body_post_by_number_request_body/post/responses/response_200
        • request_body_post_by_small_number_request_body/post/responses/response_200
        • request_body_post_const_nul_characters_in_strings_request_body/post/responses/response_200
        • request_body_post_contains_keyword_validation_request_body/post/responses/response_200
        • request_body_post_contains_with_null_instance_elements_request_body/post/responses/response_200
        • request_body_post_date_format_request_body/post/responses/response_200
        • request_body_post_date_time_format_request_body/post/responses/response_200
        • request_body_post_dependent_schemas_dependencies_with_escaped_characters_request_body/post/responses/response_200
        • request_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_request_body/post/responses/response_200
        • request_body_post_dependent_schemas_single_dependency_request_body/post/responses/response_200
        • request_body_post_duration_format_request_body/post/responses/response_200
        • request_body_post_email_format_request_body/post/responses/response_200
        • request_body_post_empty_dependents_request_body/post/responses/response_200
        • request_body_post_enum_with0_does_not_match_false_request_body/post/responses/response_200
        • request_body_post_enum_with1_does_not_match_true_request_body/post/responses/response_200
        • request_body_post_enum_with_escaped_characters_request_body/post/responses/response_200
        • request_body_post_enum_with_false_does_not_match0_request_body/post/responses/response_200
        • request_body_post_enum_with_true_does_not_match1_request_body/post/responses/response_200
        • request_body_post_enums_in_properties_request_body/post/responses/response_200
        • request_body_post_float_division_inf_request_body/post/responses/response_200
        • request_body_post_forbidden_property_request_body/post/responses/response_200
        • request_body_post_hostname_format_request_body/post/responses/response_200
        • request_body_post_idn_email_format_request_body/post/responses/response_200
        • request_body_post_idn_hostname_format_request_body/post/responses/response_200
        • request_body_post_integer_type_matches_integers_request_body/post/responses/response_200
        • request_body_post_ipv4_format_request_body/post/responses/response_200
        • request_body_post_ipv6_format_request_body/post/responses/response_200
        • request_body_post_iri_format_request_body/post/responses/response_200
        • request_body_post_iri_reference_format_request_body/post/responses/response_200
        • request_body_post_items_contains_request_body/post/responses/response_200
        • request_body_post_items_does_not_look_in_applicators_valid_case_request_body/post/responses/response_200
        • request_body_post_items_with_null_instance_elements_request_body/post/responses/response_200
        • request_body_post_json_pointer_format_request_body/post/responses/response_200
        • request_body_post_maxcontains_without_contains_is_ignored_request_body/post/responses/response_200
        • request_body_post_maximum_validation_request_body/post/responses/response_200
        • request_body_post_maximum_validation_with_unsigned_integer_request_body/post/responses/response_200
        • request_body_post_maxitems_validation_request_body/post/responses/response_200
        • request_body_post_maxlength_validation_request_body/post/responses/response_200
        • request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/responses/response_200
        • request_body_post_maxproperties_validation_request_body/post/responses/response_200
        • request_body_post_mincontains_without_contains_is_ignored_request_body/post/responses/response_200
        • request_body_post_minimum_validation_request_body/post/responses/response_200
        • request_body_post_minimum_validation_with_signed_integer_request_body/post/responses/response_200
        • request_body_post_minitems_validation_request_body/post/responses/response_200
        • request_body_post_minlength_validation_request_body/post/responses/response_200
        • request_body_post_minproperties_validation_request_body/post/responses/response_200
        • request_body_post_multiple_dependents_required_request_body/post/responses/response_200
        • request_body_post_multiple_simultaneous_patternproperties_are_validated_request_body/post/responses/response_200
        • request_body_post_multiple_types_can_be_specified_in_an_array_request_body/post/responses/response_200
        • request_body_post_nested_allof_to_check_validation_semantics_request_body/post/responses/response_200
        • request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/responses/response_200
        • request_body_post_nested_items_request_body/post/responses/response_200
        • request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/responses/response_200
        • request_body_post_non_ascii_pattern_with_additionalproperties_request_body/post/responses/response_200
        • request_body_post_not_more_complex_schema_request_body/post/responses/response_200
        • request_body_post_not_multiple_types_request_body/post/responses/response_200
        • request_body_post_not_request_body/post/responses/response_200
        • request_body_post_nul_characters_in_strings_request_body/post/responses/response_200
        • request_body_post_null_type_matches_only_the_null_object_request_body/post/responses/response_200
        • request_body_post_number_type_matches_numbers_request_body/post/responses/response_200
        • request_body_post_object_properties_validation_request_body/post/responses/response_200
        • request_body_post_object_type_matches_objects_request_body/post/responses/response_200
        • request_body_post_oneof_complex_types_request_body/post/responses/response_200
        • request_body_post_oneof_request_body/post/responses/response_200
        • request_body_post_oneof_with_base_schema_request_body/post/responses/response_200
        • request_body_post_oneof_with_empty_schema_request_body/post/responses/response_200
        • request_body_post_oneof_with_required_request_body/post/responses/response_200
        • request_body_post_pattern_is_not_anchored_request_body/post/responses/response_200
        • request_body_post_pattern_validation_request_body/post/responses/response_200
        • request_body_post_patternproperties_validates_properties_matching_a_regex_request_body/post/responses/response_200
        • request_body_post_patternproperties_with_null_valued_instance_properties_request_body/post/responses/response_200
        • request_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_request_body/post/responses/response_200
        • request_body_post_prefixitems_with_null_instance_elements_request_body/post/responses/response_200
        • request_body_post_properties_patternproperties_additionalproperties_interaction_request_body/post/responses/response_200
        • request_body_post_properties_whose_names_are_javascript_object_property_names_request_body/post/responses/response_200
        • request_body_post_properties_with_escaped_characters_request_body/post/responses/response_200
        • request_body_post_properties_with_null_valued_instance_properties_request_body/post/responses/response_200
        • request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/responses/response_200
        • request_body_post_propertynames_validation_request_body/post/responses/response_200
        • request_body_post_regex_format_request_body/post/responses/response_200
        • request_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_request_body/post/responses/response_200
        • request_body_post_relative_json_pointer_format_request_body/post/responses/response_200
        • request_body_post_required_default_validation_request_body/post/responses/response_200
        • request_body_post_required_properties_whose_names_are_javascript_object_property_names_request_body/post/responses/response_200
        • request_body_post_required_validation_request_body/post/responses/response_200
        • request_body_post_required_with_empty_array_request_body/post/responses/response_200
        • request_body_post_required_with_escaped_characters_request_body/post/responses/response_200
        • request_body_post_simple_enum_validation_request_body/post/responses/response_200
        • request_body_post_single_dependency_request_body/post/responses/response_200
        • request_body_post_small_multiple_of_large_integer_request_body/post/responses/response_200
        • request_body_post_string_type_matches_strings_request_body/post/responses/response_200
        • request_body_post_time_format_request_body/post/responses/response_200
        • request_body_post_type_array_object_or_null_request_body/post/responses/response_200
        • request_body_post_type_array_or_object_request_body/post/responses/response_200
        • request_body_post_type_as_array_with_one_item_request_body/post/responses/response_200
        • request_body_post_unevaluateditems_as_schema_request_body/post/responses/response_200
        • request_body_post_unevaluateditems_depends_on_multiple_nested_contains_request_body/post/responses/response_200
        • request_body_post_unevaluateditems_with_items_request_body/post/responses/response_200
        • request_body_post_unevaluateditems_with_null_instance_elements_request_body/post/responses/response_200
        • request_body_post_unevaluatedproperties_not_affected_by_propertynames_request_body/post/responses/response_200
        • request_body_post_unevaluatedproperties_schema_request_body/post/responses/response_200
        • request_body_post_unevaluatedproperties_with_adjacent_additionalproperties_request_body/post/responses/response_200
        • request_body_post_unevaluatedproperties_with_null_valued_instance_properties_request_body/post/responses/response_200
        • request_body_post_uniqueitems_false_validation_request_body/post/responses/response_200
        • request_body_post_uniqueitems_false_with_an_array_of_items_request_body/post/responses/response_200
        • request_body_post_uniqueitems_validation_request_body/post/responses/response_200
        • request_body_post_uniqueitems_with_an_array_of_items_request_body/post/responses/response_200
        • request_body_post_uri_format_request_body/post/responses/response_200
        • request_body_post_uri_reference_format_request_body/post/responses/response_200
        • request_body_post_uri_template_format_request_body/post/responses/response_200
        • request_body_post_uuid_format_request_body/post/responses/response_200
        • response_body_post_a_schema_given_for_prefixitems_response_body_for_content_types/post/responses/response_200
        • response_body_post_additional_items_are_allowed_by_default_response_body_for_content_types/post/responses/response_200
        • response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200
        • response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200
        • response_body_post_additionalproperties_does_not_look_in_applicators_response_body_for_content_types/post/responses/response_200
        • response_body_post_additionalproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200
        • response_body_post_additionalproperties_with_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200
        • response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200
        • response_body_post_anyof_response_body_for_content_types/post/responses/response_200
        • response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200
        • response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200
        • response_body_post_by_int_response_body_for_content_types/post/responses/response_200
        • response_body_post_by_number_response_body_for_content_types/post/responses/response_200
        • response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200
        • response_body_post_const_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200
        • response_body_post_contains_keyword_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_contains_with_null_instance_elements_response_body_for_content_types/post/responses/response_200
        • response_body_post_date_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_dependent_schemas_dependencies_with_escaped_characters_response_body_for_content_types/post/responses/response_200
        • response_body_post_dependent_schemas_dependent_subschema_incompatible_with_root_response_body_for_content_types/post/responses/response_200
        • response_body_post_dependent_schemas_single_dependency_response_body_for_content_types/post/responses/response_200
        • response_body_post_duration_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_email_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_empty_dependents_response_body_for_content_types/post/responses/response_200
        • response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200
        • response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200
        • response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200
        • response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200
        • response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200
        • response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200
        • response_body_post_float_division_inf_response_body_for_content_types/post/responses/response_200
        • response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200
        • response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_idn_email_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_idn_hostname_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200
        • response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_iri_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_iri_reference_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_items_contains_response_body_for_content_types/post/responses/response_200
        • response_body_post_items_does_not_look_in_applicators_valid_case_response_body_for_content_types/post/responses/response_200
        • response_body_post_items_with_null_instance_elements_response_body_for_content_types/post/responses/response_200
        • response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_maxcontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200
        • response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200
        • response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200
        • response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_mincontains_without_contains_is_ignored_response_body_for_content_types/post/responses/response_200
        • response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200
        • response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_multiple_dependents_required_response_body_for_content_types/post/responses/response_200
        • response_body_post_multiple_simultaneous_patternproperties_are_validated_response_body_for_content_types/post/responses/response_200
        • response_body_post_multiple_types_can_be_specified_in_an_array_response_body_for_content_types/post/responses/response_200
        • response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200
        • response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200
        • response_body_post_nested_items_response_body_for_content_types/post/responses/response_200
        • response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200
        • response_body_post_non_ascii_pattern_with_additionalproperties_response_body_for_content_types/post/responses/response_200
        • response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_not_multiple_types_response_body_for_content_types/post/responses/response_200
        • response_body_post_not_response_body_for_content_types/post/responses/response_200
        • response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200
        • response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200
        • response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200
        • response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200
        • response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200
        • response_body_post_oneof_response_body_for_content_types/post/responses/response_200
        • response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200
        • response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200
        • response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_patternproperties_validates_properties_matching_a_regex_response_body_for_content_types/post/responses/response_200
        • response_body_post_patternproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200
        • response_body_post_prefixitems_validation_adjusts_the_starting_index_for_items_response_body_for_content_types/post/responses/response_200
        • response_body_post_prefixitems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200
        • response_body_post_properties_patternproperties_additionalproperties_interaction_response_body_for_content_types/post/responses/response_200
        • response_body_post_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200
        • response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200
        • response_body_post_properties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200
        • response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200
        • response_body_post_propertynames_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_regex_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_regexes_are_not_anchored_by_default_and_are_case_sensitive_response_body_for_content_types/post/responses/response_200
        • response_body_post_relative_json_pointer_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_required_properties_whose_names_are_javascript_object_property_names_response_body_for_content_types/post/responses/response_200
        • response_body_post_required_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200
        • response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200
        • response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_single_dependency_response_body_for_content_types/post/responses/response_200
        • response_body_post_small_multiple_of_large_integer_response_body_for_content_types/post/responses/response_200
        • response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200
        • response_body_post_time_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_type_array_object_or_null_response_body_for_content_types/post/responses/response_200
        • response_body_post_type_array_or_object_response_body_for_content_types/post/responses/response_200
        • response_body_post_type_as_array_with_one_item_response_body_for_content_types/post/responses/response_200
        • response_body_post_unevaluateditems_as_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_unevaluateditems_depends_on_multiple_nested_contains_response_body_for_content_types/post/responses/response_200
        • response_body_post_unevaluateditems_with_items_response_body_for_content_types/post/responses/response_200
        • response_body_post_unevaluateditems_with_null_instance_elements_response_body_for_content_types/post/responses/response_200
        • response_body_post_unevaluatedproperties_not_affected_by_propertynames_response_body_for_content_types/post/responses/response_200
        • response_body_post_unevaluatedproperties_schema_response_body_for_content_types/post/responses/response_200
        • response_body_post_unevaluatedproperties_with_adjacent_additionalproperties_response_body_for_content_types/post/responses/response_200
        • response_body_post_unevaluatedproperties_with_null_valued_instance_properties_response_body_for_content_types/post/responses/response_200
        • response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_uniqueitems_false_with_an_array_of_items_response_body_for_content_types/post/responses/response_200
        • response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200
        • response_body_post_uniqueitems_with_an_array_of_items_response_body_for_content_types/post/responses/response_200
        • response_body_post_uri_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200
        • response_body_post_uuid_format_response_body_for_content_types/post/responses/response_200
    • openapi_features
      • nonCompliantUseDiscriminatorIfCompositionFails/python/src/this_package
      • security/python/src/this_package
    • petstore/python
  • src

Some content is hidden

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

659 files changed

+6082
-2426
lines changed

samples/client/3_0_3_unit_test/python/src/unit_test_api/api_response.py

Lines changed: 20 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -14,15 +14,27 @@
1414
from unit_test_api import schemas
1515

1616

17-
@dataclasses.dataclass
1817
class ApiResponse:
19-
response: urllib3.HTTPResponse
20-
body: typing.Union[schemas.Unset, schemas.OUTPUT_BASE_TYPES] = schemas.unset
21-
headers: typing.Union[schemas.Unset, typing.Mapping[str, schemas.OUTPUT_BASE_TYPES]] = schemas.unset
18+
def __init__(
19+
self,
20+
*,
21+
response: urllib3.HTTPResponse,
22+
body: typing.Union[schemas.Unset, schemas.OUTPUT_BASE_TYPES] = schemas.unset,
23+
headers: typing.Union[schemas.Unset, typing.Mapping[str, schemas.OUTPUT_BASE_TYPES]] = schemas.unset
24+
):
25+
self.response = response
26+
self.body = body
27+
self. headers = headers
2228

2329

24-
@dataclasses.dataclass
2530
class ApiResponseWithoutDeserialization(ApiResponse):
26-
response: urllib3.HTTPResponse
27-
body: schemas.Unset = schemas.unset
28-
headers: schemas.Unset = schemas.unset
31+
def __init__(
32+
self,
33+
*,
34+
response: urllib3.HTTPResponse,
35+
body: schemas.Unset = schemas.unset,
36+
headers: schemas.Unset = schemas.unset
37+
):
38+
self.response = response
39+
self.body = body
40+
self. headers = headers

samples/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_allows_a_schema_which_should_validate.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,13 +48,13 @@ def __new__(
4848
**kwargs: bool,
4949
):
5050
arg_: typing.Dict[str, typing.Any] = {}
51-
for key, val in (
51+
for key_, val in (
5252
("foo", foo),
5353
("bar", bar),
5454
):
5555
if isinstance(val, schemas.Unset):
5656
continue
57-
arg_[key] = val
57+
arg_[key_] = val
5858
arg_.update(kwargs)
5959
used_arg_ = typing.cast(AdditionalpropertiesAllowsASchemaWhichShouldValidateDictInput, arg_)
6060
return AdditionalpropertiesAllowsASchemaWhichShouldValidate.validate(used_arg_, configuration=configuration_)

samples/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_are_allowed_by_default.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,13 +47,13 @@ def __new__(
4747
**kwargs: schemas.INPUT_TYPES_ALL,
4848
):
4949
arg_: typing.Dict[str, typing.Any] = {}
50-
for key, val in (
50+
for key_, val in (
5151
("foo", foo),
5252
("bar", bar),
5353
):
5454
if isinstance(val, schemas.Unset):
5555
continue
56-
arg_[key] = val
56+
arg_[key_] = val
5757
arg_.update(kwargs)
5858
used_arg_ = typing.cast(AdditionalpropertiesAreAllowedByDefaultDictInput, arg_)
5959
return AdditionalpropertiesAreAllowedByDefault.validate(used_arg_, configuration=configuration_)

samples/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/additionalproperties_should_not_look_in_applicators.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,12 +40,12 @@ def __new__(
4040
**kwargs: schemas.INPUT_TYPES_ALL,
4141
):
4242
arg_: typing.Dict[str, typing.Any] = {}
43-
for key, val in (
43+
for key_, val in (
4444
("foo", foo),
4545
):
4646
if isinstance(val, schemas.Unset):
4747
continue
48-
arg_[key] = val
48+
arg_[key_] = val
4949
arg_.update(kwargs)
5050
used_arg_ = typing.cast(_0DictInput, arg_)
5151
return _0.validate(used_arg_, configuration=configuration_)

samples/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/enums_in_properties.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -154,12 +154,12 @@ def __new__(
154154
arg_: typing.Dict[str, typing.Any] = {
155155
"bar": bar,
156156
}
157-
for key, val in (
157+
for key_, val in (
158158
("foo", foo),
159159
):
160160
if isinstance(val, schemas.Unset):
161161
continue
162-
arg_[key] = val
162+
arg_[key_] = val
163163
arg_.update(kwargs)
164164
used_arg_ = typing.cast(EnumsInPropertiesDictInput, arg_)
165165
return EnumsInProperties.validate(used_arg_, configuration=configuration_)

samples/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/forbidden_property.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ def __new__(
3838
**kwargs: schemas.INPUT_TYPES_ALL,
3939
):
4040
arg_: typing.Dict[str, typing.Any] = {}
41-
for key, val in (
41+
for key_, val in (
4242
("foo", foo),
4343
):
4444
if isinstance(val, schemas.Unset):
4545
continue
46-
arg_[key] = val
46+
arg_[key_] = val
4747
arg_.update(kwargs)
4848
used_arg_ = typing.cast(ForbiddenPropertyDictInput, arg_)
4949
return ForbiddenProperty.validate(used_arg_, configuration=configuration_)

samples/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/invalid_string_value_for_default.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,12 +48,12 @@ def __new__(
4848
**kwargs: schemas.INPUT_TYPES_ALL,
4949
):
5050
arg_: typing.Dict[str, typing.Any] = {}
51-
for key, val in (
51+
for key_, val in (
5252
("bar", bar),
5353
):
5454
if isinstance(val, schemas.Unset):
5555
continue
56-
arg_[key] = val
56+
arg_[key_] = val
5757
arg_.update(kwargs)
5858
used_arg_ = typing.cast(InvalidStringValueForDefaultDictInput, arg_)
5959
return InvalidStringValueForDefault.validate(used_arg_, configuration=configuration_)

samples/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/not_more_complex_schema.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -38,12 +38,12 @@ def __new__(
3838
**kwargs: schemas.INPUT_TYPES_ALL,
3939
):
4040
arg_: typing.Dict[str, typing.Any] = {}
41-
for key, val in (
41+
for key_, val in (
4242
("foo", foo),
4343
):
4444
if isinstance(val, schemas.Unset):
4545
continue
46-
arg_[key] = val
46+
arg_[key_] = val
4747
arg_.update(kwargs)
4848
used_arg_ = typing.cast(NotDictInput, arg_)
4949
return _Not.validate(used_arg_, configuration=configuration_)

samples/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/object_properties_validation.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,13 +45,13 @@ def __new__(
4545
**kwargs: schemas.INPUT_TYPES_ALL,
4646
):
4747
arg_: typing.Dict[str, typing.Any] = {}
48-
for key, val in (
48+
for key_, val in (
4949
("foo", foo),
5050
("bar", bar),
5151
):
5252
if isinstance(val, schemas.Unset):
5353
continue
54-
arg_[key] = val
54+
arg_[key_] = val
5555
arg_.update(kwargs)
5656
used_arg_ = typing.cast(ObjectPropertiesValidationDictInput, arg_)
5757
return ObjectPropertiesValidation.validate(used_arg_, configuration=configuration_)

samples/client/3_0_3_unit_test/python/src/unit_test_api/components/schema/ref_in_property.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,12 +39,12 @@ def __new__(
3939
**kwargs: schemas.INPUT_TYPES_ALL,
4040
):
4141
arg_: typing.Dict[str, typing.Any] = {}
42-
for key, val in (
42+
for key_, val in (
4343
("a", a),
4444
):
4545
if isinstance(val, schemas.Unset):
4646
continue
47-
arg_[key] = val
47+
arg_[key_] = val
4848
arg_.update(kwargs)
4949
used_arg_ = typing.cast(RefInPropertyDictInput, arg_)
5050
return RefInProperty.validate(used_arg_, configuration=configuration_)

0 commit comments

Comments
 (0)