This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Commit 3eff13f
committed
v3 adds generic type info to schema classes/properties/items (#174)
* Adds generic type T
* Fixes broken python test
* Fixes for vscode basic type checking
* Adds new instacne casting
* Sets ValidationMetadata new type
* Makes ValidationMetadata a dataclass, fixes type issues in _process_schema_classes
* Fixes XBase self type errors
* Makes two methods static
* Fixes IntBase as_int type error
* Fixes type error in NumberBase
* Adds needed typing.cast calls in new methods and get_new_class fn
* Fixes exponent type error
* Fixes type errors in _get_new_instance_without_conversion
* Fixes typ error in FileIO new
* Fixes type error in BytesSchema
* Fixes another type error
* Adds type ignore for _GenericAlias check and origin access
* Removes _takes_ascii usage
* Fixes septype error
* Adds __parse_isotime type fix
* Fixes more date/datetime parsing errors
* Adds missing return types
* Changes UnsetAnyType back to AnyType
* Fixes AnyType init signature
* Writes new method for all composed or anytype classes
* Removes quote from refclass definitions
* Removes a type ignore comment
* Sample regen
* Adds response body generic type to ApiResponse classes
* Refactors response content template
* Adds response content type hint
* Fixes response header passing for deserialization
* Moves content schema helper
* Adds header and parameter content type type hint
* Adds missing imports
* Adds schema types for parameters and headers
* Samples updated
* Removes frozendict base class from ValidationMetadata
* Removes __origin__ usage
* Samples regenerated
* Fixes python test1 parent 56524d6 commit 3eff13f
1,164 files changed
Lines changed: 16877 additions & 5151 deletions
File tree
- modules/openapi-json-schema-generator/src/main/resources/python
- components
- request_bodies
- responses
- schemas
- paths/path/verb
- samples/openapi3/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/request_body
- content/application_json
- request_body_post_additionalproperties_are_allowed_by_default_request_body/post/request_body
- content/application_json
- request_body_post_additionalproperties_can_exist_by_itself_request_body/post/request_body
- content/application_json
- request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post/request_body
- content/application_json
- request_body_post_allof_combined_with_anyof_oneof_request_body/post/request_body
- content/application_json
- request_body_post_allof_request_body/post/request_body
- content/application_json
- request_body_post_allof_simple_types_request_body/post/request_body
- content/application_json
- request_body_post_allof_with_base_schema_request_body/post/request_body
- content/application_json
- request_body_post_allof_with_one_empty_schema_request_body/post/request_body
- content/application_json
- request_body_post_allof_with_the_first_empty_schema_request_body/post/request_body
- content/application_json
- request_body_post_allof_with_the_last_empty_schema_request_body/post/request_body
- content/application_json
- request_body_post_allof_with_two_empty_schemas_request_body/post/request_body
- content/application_json
- request_body_post_anyof_complex_types_request_body/post/request_body
- content/application_json
- request_body_post_anyof_request_body/post/request_body
- content/application_json
- request_body_post_anyof_with_base_schema_request_body/post/request_body
- content/application_json
- request_body_post_anyof_with_one_empty_schema_request_body/post/request_body
- content/application_json
- request_body_post_array_type_matches_arrays_request_body/post/request_body
- content/application_json
- request_body_post_boolean_type_matches_booleans_request_body/post/request_body
- content/application_json
- request_body_post_by_int_request_body/post/request_body
- content/application_json
- request_body_post_by_number_request_body/post/request_body
- content/application_json
- request_body_post_by_small_number_request_body/post/request_body
- content/application_json
- request_body_post_date_time_format_request_body/post/request_body
- content/application_json
- request_body_post_email_format_request_body/post/request_body
- content/application_json
- request_body_post_enum_with0_does_not_match_false_request_body/post/request_body
- content/application_json
- request_body_post_enum_with1_does_not_match_true_request_body/post/request_body
- content/application_json
- request_body_post_enum_with_escaped_characters_request_body/post/request_body
- content/application_json
- request_body_post_enum_with_false_does_not_match0_request_body/post/request_body
- content/application_json
- request_body_post_enum_with_true_does_not_match1_request_body/post/request_body
- content/application_json
- request_body_post_enums_in_properties_request_body/post/request_body
- content/application_json
- request_body_post_forbidden_property_request_body/post/request_body
- content/application_json
- request_body_post_hostname_format_request_body/post/request_body
- content/application_json
- request_body_post_integer_type_matches_integers_request_body/post/request_body
- content/application_json
- request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post/request_body
- content/application_json
- request_body_post_invalid_string_value_for_default_request_body/post/request_body
- content/application_json
- request_body_post_ipv4_format_request_body/post/request_body
- content/application_json
- request_body_post_ipv6_format_request_body/post/request_body
- content/application_json
- request_body_post_json_pointer_format_request_body/post/request_body
- content/application_json
- request_body_post_maximum_validation_request_body/post/request_body
- content/application_json
- request_body_post_maximum_validation_with_unsigned_integer_request_body/post/request_body
- content/application_json
- request_body_post_maxitems_validation_request_body/post/request_body
- content/application_json
- request_body_post_maxlength_validation_request_body/post/request_body
- content/application_json
- request_body_post_maxproperties0_means_the_object_is_empty_request_body/post/request_body
- content/application_json
- request_body_post_maxproperties_validation_request_body/post/request_body
- content/application_json
- request_body_post_minimum_validation_request_body/post/request_body
- content/application_json
- request_body_post_minimum_validation_with_signed_integer_request_body/post/request_body
- content/application_json
- request_body_post_minitems_validation_request_body/post/request_body
- content/application_json
- request_body_post_minlength_validation_request_body/post/request_body
- content/application_json
- request_body_post_minproperties_validation_request_body/post/request_body
- content/application_json
- request_body_post_nested_allof_to_check_validation_semantics_request_body/post/request_body
- content/application_json
- request_body_post_nested_anyof_to_check_validation_semantics_request_body/post/request_body
- content/application_json
- request_body_post_nested_items_request_body/post/request_body
- content/application_json
- request_body_post_nested_oneof_to_check_validation_semantics_request_body/post/request_body
- content/application_json
- request_body_post_not_more_complex_schema_request_body/post/request_body
- content/application_json
- request_body_post_not_request_body/post/request_body
- content/application_json
- request_body_post_nul_characters_in_strings_request_body/post/request_body
- content/application_json
- request_body_post_null_type_matches_only_the_null_object_request_body/post/request_body
- content/application_json
- request_body_post_number_type_matches_numbers_request_body/post/request_body
- content/application_json
- request_body_post_object_properties_validation_request_body/post/request_body
- content/application_json
- request_body_post_object_type_matches_objects_request_body/post/request_body
- content/application_json
- request_body_post_oneof_complex_types_request_body/post/request_body
- content/application_json
- request_body_post_oneof_request_body/post/request_body
- content/application_json
- request_body_post_oneof_with_base_schema_request_body/post/request_body
- content/application_json
- request_body_post_oneof_with_empty_schema_request_body/post/request_body
- content/application_json
- request_body_post_oneof_with_required_request_body/post/request_body
- content/application_json
- request_body_post_pattern_is_not_anchored_request_body/post/request_body
- content/application_json
- request_body_post_pattern_validation_request_body/post/request_body
- content/application_json
- request_body_post_properties_with_escaped_characters_request_body/post/request_body
- content/application_json
- request_body_post_property_named_ref_that_is_not_a_reference_request_body/post/request_body
- content/application_json
- request_body_post_ref_in_additionalproperties_request_body/post/request_body
- content/application_json
- request_body_post_ref_in_allof_request_body/post/request_body
- content/application_json
- request_body_post_ref_in_anyof_request_body/post/request_body
- content/application_json
- request_body_post_ref_in_items_request_body/post/request_body
- content/application_json
- request_body_post_ref_in_not_request_body/post/request_body
- content/application_json
- request_body_post_ref_in_oneof_request_body/post/request_body
- content/application_json
- request_body_post_ref_in_property_request_body/post/request_body
- content/application_json
- request_body_post_required_default_validation_request_body/post/request_body
- content/application_json
- request_body_post_required_validation_request_body/post/request_body
- content/application_json
- request_body_post_required_with_empty_array_request_body/post/request_body
- content/application_json
- request_body_post_required_with_escaped_characters_request_body/post/request_body
- content/application_json
- request_body_post_simple_enum_validation_request_body/post/request_body
- content/application_json
- request_body_post_string_type_matches_strings_request_body/post/request_body
- content/application_json
- request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post/request_body
- content/application_json
- request_body_post_uniqueitems_false_validation_request_body/post/request_body
- content/application_json
- request_body_post_uniqueitems_validation_request_body/post/request_body
- content/application_json
- request_body_post_uri_format_request_body/post/request_body
- content/application_json
- request_body_post_uri_reference_format_request_body/post/request_body
- content/application_json
- request_body_post_uri_template_format_request_body/post/request_body
- content/application_json
- response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_allof_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_allof_simple_types_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_allof_with_base_schema_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_anyof_complex_types_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_anyof_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_anyof_with_base_schema_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_array_type_matches_arrays_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_by_int_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_by_number_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_by_small_number_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_date_time_format_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_email_format_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_enums_in_properties_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_forbidden_property_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_hostname_format_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_integer_type_matches_integers_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_ipv4_format_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_ipv6_format_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_json_pointer_format_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_maximum_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_maxitems_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_maxlength_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_maxproperties_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_minimum_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_minitems_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_minlength_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_minproperties_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_nested_items_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_not_more_complex_schema_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_not_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_nul_characters_in_strings_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_number_type_matches_numbers_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_object_properties_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_object_type_matches_objects_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_oneof_complex_types_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_oneof_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_oneof_with_base_schema_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_oneof_with_required_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_pattern_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_ref_in_allof_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_ref_in_anyof_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_ref_in_items_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_ref_in_not_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_ref_in_oneof_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_ref_in_property_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_required_default_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_required_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_required_with_empty_array_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_required_with_escaped_characters_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_simple_enum_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_string_type_matches_strings_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_uniqueitems_validation_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_uri_format_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_uri_reference_format_response_body_for_content_types/post/responses/response_200
- content/application_json
- response_body_post_uri_template_format_response_body_for_content_types/post/responses/response_200
- content/application_json
- test/test_paths
- test_request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body
- test_request_body_post_additionalproperties_are_allowed_by_default_request_body
- test_request_body_post_additionalproperties_can_exist_by_itself_request_body
- test_request_body_post_additionalproperties_should_not_look_in_applicators_request_body
- test_request_body_post_allof_combined_with_anyof_oneof_request_body
- test_request_body_post_allof_request_body
- test_request_body_post_allof_simple_types_request_body
- test_request_body_post_allof_with_base_schema_request_body
- test_request_body_post_allof_with_one_empty_schema_request_body
- test_request_body_post_allof_with_the_first_empty_schema_request_body
- test_request_body_post_allof_with_the_last_empty_schema_request_body
- test_request_body_post_allof_with_two_empty_schemas_request_body
- test_request_body_post_anyof_complex_types_request_body
- test_request_body_post_anyof_request_body
- test_request_body_post_anyof_with_base_schema_request_body
- test_request_body_post_anyof_with_one_empty_schema_request_body
- test_request_body_post_array_type_matches_arrays_request_body
- test_request_body_post_boolean_type_matches_booleans_request_body
- test_request_body_post_by_int_request_body
- test_request_body_post_by_number_request_body
- test_request_body_post_by_small_number_request_body
- test_request_body_post_date_time_format_request_body
- test_request_body_post_email_format_request_body
- test_request_body_post_enum_with0_does_not_match_false_request_body
- test_request_body_post_enum_with1_does_not_match_true_request_body
- test_request_body_post_enum_with_escaped_characters_request_body
- test_request_body_post_enum_with_false_does_not_match0_request_body
- test_request_body_post_enum_with_true_does_not_match1_request_body
- test_request_body_post_enums_in_properties_request_body
- test_request_body_post_forbidden_property_request_body
- test_request_body_post_hostname_format_request_body
- test_request_body_post_integer_type_matches_integers_request_body
- test_request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body
- test_request_body_post_invalid_string_value_for_default_request_body
- test_request_body_post_ipv4_format_request_body
- test_request_body_post_ipv6_format_request_body
- test_request_body_post_json_pointer_format_request_body
- test_request_body_post_maximum_validation_request_body
- test_request_body_post_maximum_validation_with_unsigned_integer_request_body
- test_request_body_post_maxitems_validation_request_body
- test_request_body_post_maxlength_validation_request_body
- test_request_body_post_maxproperties0_means_the_object_is_empty_request_body
- test_request_body_post_maxproperties_validation_request_body
- test_request_body_post_minimum_validation_request_body
- test_request_body_post_minimum_validation_with_signed_integer_request_body
- test_request_body_post_minitems_validation_request_body
- test_request_body_post_minlength_validation_request_body
- test_request_body_post_minproperties_validation_request_body
- test_request_body_post_nested_allof_to_check_validation_semantics_request_body
- test_request_body_post_nested_anyof_to_check_validation_semantics_request_body
- test_request_body_post_nested_items_request_body
- test_request_body_post_nested_oneof_to_check_validation_semantics_request_body
- test_request_body_post_not_more_complex_schema_request_body
- test_request_body_post_not_request_body
- test_request_body_post_nul_characters_in_strings_request_body
- test_request_body_post_null_type_matches_only_the_null_object_request_body
- test_request_body_post_number_type_matches_numbers_request_body
- test_request_body_post_object_properties_validation_request_body
- test_request_body_post_object_type_matches_objects_request_body
- test_request_body_post_oneof_complex_types_request_body
- test_request_body_post_oneof_request_body
- test_request_body_post_oneof_with_base_schema_request_body
- test_request_body_post_oneof_with_empty_schema_request_body
- test_request_body_post_oneof_with_required_request_body
- test_request_body_post_pattern_is_not_anchored_request_body
- test_request_body_post_pattern_validation_request_body
- test_request_body_post_properties_with_escaped_characters_request_body
- test_request_body_post_property_named_ref_that_is_not_a_reference_request_body
- test_request_body_post_ref_in_additionalproperties_request_body
- test_request_body_post_ref_in_allof_request_body
- test_request_body_post_ref_in_anyof_request_body
- test_request_body_post_ref_in_items_request_body
- test_request_body_post_ref_in_not_request_body
- test_request_body_post_ref_in_oneof_request_body
- test_request_body_post_ref_in_property_request_body
- test_request_body_post_required_default_validation_request_body
- test_request_body_post_required_validation_request_body
- test_request_body_post_required_with_empty_array_request_body
- test_request_body_post_required_with_escaped_characters_request_body
- test_request_body_post_simple_enum_validation_request_body
- test_request_body_post_string_type_matches_strings_request_body
- test_request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body
- test_request_body_post_uniqueitems_false_validation_request_body
- test_request_body_post_uniqueitems_validation_request_body
- test_request_body_post_uri_format_request_body
- test_request_body_post_uri_reference_format_request_body
- test_request_body_post_uri_template_format_request_body
- test_response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types
- test_response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types
- test_response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types
- test_response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types
- test_response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types
- test_response_body_post_allof_response_body_for_content_types
- test_response_body_post_allof_simple_types_response_body_for_content_types
- test_response_body_post_allof_with_base_schema_response_body_for_content_types
- test_response_body_post_allof_with_one_empty_schema_response_body_for_content_types
- test_response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types
- test_response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types
- test_response_body_post_allof_with_two_empty_schemas_response_body_for_content_types
- test_response_body_post_anyof_complex_types_response_body_for_content_types
- test_response_body_post_anyof_response_body_for_content_types
- test_response_body_post_anyof_with_base_schema_response_body_for_content_types
- test_response_body_post_anyof_with_one_empty_schema_response_body_for_content_types
- test_response_body_post_array_type_matches_arrays_response_body_for_content_types
- test_response_body_post_boolean_type_matches_booleans_response_body_for_content_types
- test_response_body_post_by_int_response_body_for_content_types
- test_response_body_post_by_number_response_body_for_content_types
- test_response_body_post_by_small_number_response_body_for_content_types
- test_response_body_post_date_time_format_response_body_for_content_types
- test_response_body_post_email_format_response_body_for_content_types
- test_response_body_post_enum_with0_does_not_match_false_response_body_for_content_types
- test_response_body_post_enum_with1_does_not_match_true_response_body_for_content_types
- test_response_body_post_enum_with_escaped_characters_response_body_for_content_types
- test_response_body_post_enum_with_false_does_not_match0_response_body_for_content_types
- test_response_body_post_enum_with_true_does_not_match1_response_body_for_content_types
- test_response_body_post_enums_in_properties_response_body_for_content_types
- test_response_body_post_forbidden_property_response_body_for_content_types
- test_response_body_post_hostname_format_response_body_for_content_types
- test_response_body_post_integer_type_matches_integers_response_body_for_content_types
- test_response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types
- test_response_body_post_invalid_string_value_for_default_response_body_for_content_types
- test_response_body_post_ipv4_format_response_body_for_content_types
- test_response_body_post_ipv6_format_response_body_for_content_types
- test_response_body_post_json_pointer_format_response_body_for_content_types
- test_response_body_post_maximum_validation_response_body_for_content_types
- test_response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types
- test_response_body_post_maxitems_validation_response_body_for_content_types
- test_response_body_post_maxlength_validation_response_body_for_content_types
- test_response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types
- test_response_body_post_maxproperties_validation_response_body_for_content_types
- test_response_body_post_minimum_validation_response_body_for_content_types
- test_response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types
- test_response_body_post_minitems_validation_response_body_for_content_types
- test_response_body_post_minlength_validation_response_body_for_content_types
- test_response_body_post_minproperties_validation_response_body_for_content_types
- test_response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types
- test_response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types
- test_response_body_post_nested_items_response_body_for_content_types
- test_response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types
- test_response_body_post_not_more_complex_schema_response_body_for_content_types
- test_response_body_post_not_response_body_for_content_types
- test_response_body_post_nul_characters_in_strings_response_body_for_content_types
- test_response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types
- test_response_body_post_number_type_matches_numbers_response_body_for_content_types
- test_response_body_post_object_properties_validation_response_body_for_content_types
- test_response_body_post_object_type_matches_objects_response_body_for_content_types
- test_response_body_post_oneof_complex_types_response_body_for_content_types
- test_response_body_post_oneof_response_body_for_content_types
- test_response_body_post_oneof_with_base_schema_response_body_for_content_types
- test_response_body_post_oneof_with_empty_schema_response_body_for_content_types
- test_response_body_post_oneof_with_required_response_body_for_content_types
- test_response_body_post_pattern_is_not_anchored_response_body_for_content_types
- test_response_body_post_pattern_validation_response_body_for_content_types
- test_response_body_post_properties_with_escaped_characters_response_body_for_content_types
- test_response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types
- test_response_body_post_ref_in_additionalproperties_response_body_for_content_types
- test_response_body_post_ref_in_allof_response_body_for_content_types
- test_response_body_post_ref_in_anyof_response_body_for_content_types
- test_response_body_post_ref_in_items_response_body_for_content_types
- test_response_body_post_ref_in_not_response_body_for_content_types
- test_response_body_post_ref_in_oneof_response_body_for_content_types
- test_response_body_post_ref_in_property_response_body_for_content_types
- test_response_body_post_required_default_validation_response_body_for_content_types
- test_response_body_post_required_validation_response_body_for_content_types
- test_response_body_post_required_with_empty_array_response_body_for_content_types
- test_response_body_post_required_with_escaped_characters_response_body_for_content_types
- test_response_body_post_simple_enum_validation_response_body_for_content_types
- test_response_body_post_string_type_matches_strings_response_body_for_content_types
- test_response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types
- test_response_body_post_uniqueitems_false_validation_response_body_for_content_types
- test_response_body_post_uniqueitems_validation_response_body_for_content_types
- test_response_body_post_uri_format_response_body_for_content_types
- test_response_body_post_uri_reference_format_response_body_for_content_types
- test_response_body_post_uri_template_format_response_body_for_content_types
- features
- nonCompliantUseDiscriminatorIfCompositionFails/python
- src/this_package
- components/schema
- paths/operators/post/request_body
- content/application_json
- test/test_paths/test_operators
- security/python
- src/this_package
- test/test_paths
- test_path_with_no_explicit_security
- test_path_with_one_explicit_security
- test_path_with_security_from_root
- test_path_with_two_explicit_security
- petstore/python
- src/petstore_api
- components
- headers
- header_int32_json_content_type_header
- content/application_json
- header_number_header
- header_ref_content_schema_header
- content/application_json
- header_ref_schema_header
- header_string_header
- parameters
- parameter_component_ref_schema_string_with_validation
- content/application_json
- parameter_path_user_name
- parameter_ref_schema_string_with_validation
- request_bodies
- request_body_client
- content/application_json
- request_body_pet
- content
- application_json
- application_xml
- request_body_user_array
- content/application_json
- responses
- response_success_inline_content_and_header
- content/application_json
- headers/header_some_header
- response_success_with_json_api_response
- content/application_json
- response_successful_xml_and_json_array_of_pet
- content
- application_json
- application_xml
- schema
- paths
- another_fake_dummy/patch/responses/response_200
- content/application_json
- fake_additional_properties_with_array_of_enums/get
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_body_with_file_schema/put/request_body
- content/application_json
- fake_body_with_query_params/put
- parameters/parameter_0
- request_body
- content/application_json
- fake_case_sensitive_params/put/parameters
- parameter_0
- parameter_1
- parameter_2
- fake_classname_test/patch/responses/response_200
- content/application_json
- fake_delete_coffee_id/delete/parameters/parameter_0
- fake_health/get/responses/response_200
- content/application_json
- fake_inline_additional_properties/post/request_body
- content/application_json
- fake_inline_composition/post
- parameters
- parameter_0
- parameter_1
- request_body
- content
- application_json
- multipart_form_data
- responses/response_200
- content
- application_json
- multipart_form_data
- fake_json_form_data/get/request_body
- content/application_x_www_form_urlencoded
- fake_json_patch/patch/request_body
- content/application_json_patchjson
- fake_json_with_charset/post
- request_body
- content/application_json_charsetutf8
- responses/response_200
- content/application_json_charsetutf8
- fake_multiple_response_bodies/get/responses
- response_200
- content/application_json
- response_202
- content/application_json
- fake_multiple_securities/get/responses/response_200
- content/application_json
- fake_obj_in_query/get/parameters/parameter_0
- fake_parameter_collisions1_abab_self_ab/post
- parameters
- parameter_0
- parameter_10
- parameter_11
- parameter_12
- parameter_13
- parameter_14
- parameter_15
- parameter_16
- parameter_17
- parameter_18
- parameter_1
- parameter_2
- parameter_3
- parameter_4
- parameter_5
- parameter_6
- parameter_7
- parameter_8
- parameter_9
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_pet_id_upload_image_with_required_file/post
- parameters/parameter_0
- request_body
- content/multipart_form_data
- responses/response_200
- content/application_json
- fake_query_param_with_json_content_type/get
- parameters/parameter_0
- content/application_json
- responses/response_200
- content/application_json
- fake_ref_obj_in_query/get/parameters/parameter_0
- fake_refs_array_of_enums/post
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_refs_arraymodel/post
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_refs_boolean/post
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_refs_composed_one_of_number_with_validations/post
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_refs_enum/post
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_refs_mammal/post
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_refs_number/post
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_refs_object_model_with_ref_props/post
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_refs_string/post
- request_body
- content/application_json
- responses/response_200
- content/application_json
- fake_response_without_schema/get/responses/response_200
- fake_test_query_paramters/put/parameters
- parameter_0
- parameter_1
- parameter_2
- parameter_3
- parameter_4
- parameter_5
- fake_upload_download_file/post
- request_body
- content/application_octet_stream
- responses/response_200
- content/application_octet_stream
- fake_upload_files/post
- request_body
- content/multipart_form_data
- responses/response_200
- content/application_json
- fake_upload_file/post
- request_body
- content/multipart_form_data
- responses/response_200
- content/application_json
- fake_wild_card_responses/get/responses
- response_1xx
- content/application_json
- response_200
- content/application_json
- response_2xx
- content/application_json
- response_3xx
- content/application_json
- response_4xx
- content/application_json
- response_5xx
- content/application_json
- fake
- delete/parameters
- parameter_0
- parameter_1
- parameter_2
- parameter_3
- parameter_4
- parameter_5
- get
- parameters
- parameter_0
- parameter_1
- parameter_2
- parameter_3
- parameter_4
- parameter_5
- request_body
- content/application_x_www_form_urlencoded
- responses/response_404
- content/application_json
- patch/responses/response_200
- content/application_json
- post/request_body
- content/application_x_www_form_urlencoded
- foo/get
- responses/response_default
- content/application_json
- servers
- pet_find_by_status
- get/parameters/parameter_0
- servers
- pet_find_by_tags/get/parameters/parameter_0
- pet_pet_id_upload_image/post
- parameters/parameter_0
- request_body
- content/multipart_form_data
- pet_pet_id
- delete/parameters
- parameter_0
- parameter_1
- get
- parameters/parameter_0
- responses/response_200
- content
- application_json
- application_xml
- post
- parameters/parameter_0
- request_body
- content/application_x_www_form_urlencoded
- store_order_order_id
- delete/parameters/parameter_0
- get
- parameters/parameter_0
- responses/response_200
- content
- application_json
- application_xml
- store_order/post
- request_body
- content/application_json
- responses/response_200
- content
- application_json
- application_xml
- user_login/get
- parameters
- parameter_0
- parameter_1
- responses/response_200
- content
- application_json
- application_xml
- headers
- header_x_expires_after
- header_x_rate_limit
- content/application_json
- user_username
- get/responses/response_200
- content
- application_json
- application_xml
- put/request_body
- content/application_json
- user/post/request_body
- content/application_json
- servers
- tests_manual
- test_paths
- test_fake_wild_card_responses
- test_fake
- test/test_paths
- test_another_fake_dummy
- test_fake_additional_properties_with_array_of_enums
- test_fake_body_with_file_schema
- test_fake_body_with_query_params
- test_fake_case_sensitive_params
- test_fake_classname_test
- test_fake_delete_coffee_id
- test_fake_health
- test_fake_inline_additional_properties
- test_fake_inline_composition
- test_fake_json_form_data
- test_fake_json_patch
- test_fake_json_with_charset
- test_fake_multiple_response_bodies
- test_fake_multiple_securities
- test_fake_obj_in_query
- test_fake_parameter_collisions1_abab_self_ab
- test_fake_pet_id_upload_image_with_required_file
- test_fake_query_param_with_json_content_type
- test_fake_redirection
- test_fake_ref_obj_in_query
- test_fake_refs_array_of_enums
- test_fake_refs_arraymodel
- test_fake_refs_boolean
- test_fake_refs_composed_one_of_number_with_validations
- test_fake_refs_enum
- test_fake_refs_mammal
- test_fake_refs_number
- test_fake_refs_object_model_with_ref_props
- test_fake_refs_string
- test_fake_response_without_schema
- test_fake_test_query_paramters
- test_fake_upload_download_file
- test_fake_upload_files
- test_fake_upload_file
- test_fake_wild_card_responses
- test_fake
- test_foo
- test_pet_find_by_status
- test_pet_find_by_tags
- test_pet_pet_id_upload_image
- test_pet_pet_id
- test_pet
- test_solidus
- test_store_inventory
- test_store_order_order_id
- test_store_order
- test_user_create_with_array
- test_user_create_with_list
- test_user_login
- test_user_logout
- test_user_username
- test_user
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 5 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
782 | 782 | | |
783 | 783 | | |
784 | 784 | | |
785 | | - | |
| 785 | + | |
786 | 786 | | |
787 | 787 | | |
788 | 788 | | |
| |||
1367 | 1367 | | |
1368 | 1368 | | |
1369 | 1369 | | |
1370 | | - | |
| 1370 | + | |
| 1371 | + | |
1371 | 1372 | | |
1372 | 1373 | | |
1373 | | - | |
| 1374 | + | |
1374 | 1375 | | |
1375 | | - | |
| 1376 | + | |
1376 | 1377 | | |
1377 | 1378 | | |
1378 | 1379 | | |
| |||
Lines changed: 31 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
Lines changed: 8 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
27 | 27 | | |
28 | 28 | | |
29 | 29 | | |
30 | | - | |
| 30 | + | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
39 | 39 | | |
40 | | - | |
| 40 | + | |
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
44 | | - | |
45 | | - | |
| 44 | + | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
52 | | - | |
| 52 | + | |
53 | 53 | | |
54 | | - | |
| 54 | + | |
55 | 55 | | |
56 | 56 | | |
57 | 57 | | |
| |||
Lines changed: 6 additions & 6 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | 33 | | |
34 | | - | |
35 | | - | |
| 34 | + | |
| 35 | + | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | | - | |
| 44 | + | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
| 27 | + | |
28 | 28 | | |
29 | | - | |
| 29 | + | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
Lines changed: 29 additions & 13 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
40 | 40 | | |
41 | 41 | | |
42 | 42 | | |
43 | | - | |
| 43 | + | |
44 | 44 | | |
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | 48 | | |
49 | 49 | | |
50 | 50 | | |
51 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
52 | 60 | | |
53 | 61 | | |
54 | 62 | | |
| |||
66 | 74 | | |
67 | 75 | | |
68 | 76 | | |
69 | | - | |
70 | | - | |
71 | | - | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
72 | 80 | | |
73 | 81 | | |
74 | 82 | | |
75 | 83 | | |
76 | 84 | | |
77 | | - | |
| 85 | + | |
| 86 | + | |
| 87 | + | |
| 88 | + | |
| 89 | + | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
78 | 94 | | |
79 | 95 | | |
80 | 96 | | |
| |||
96 | 112 | | |
97 | 113 | | |
98 | 114 | | |
99 | | - | |
| 115 | + | |
100 | 116 | | |
101 | 117 | | |
102 | | - | |
| 118 | + | |
103 | 119 | | |
104 | 120 | | |
105 | 121 | | |
106 | 122 | | |
107 | 123 | | |
108 | 124 | | |
109 | | - | |
110 | | - | |
| 125 | + | |
| 126 | + | |
111 | 127 | | |
112 | 128 | | |
113 | | - | |
| 129 | + | |
114 | 130 | | |
115 | 131 | | |
116 | 132 | | |
117 | | - | |
| 133 | + | |
118 | 134 | | |
119 | | - | |
| 135 | + | |
120 | 136 | | |
121 | 137 | | |
122 | 138 | | |
| |||
Lines changed: 0 additions & 24 deletions
This file was deleted.
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
Lines changed: 15 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
Lines changed: 58 additions & 15 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4 | 4 | | |
5 | 5 | | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
8 | 8 | | |
9 | 9 | | |
10 | 10 | | |
11 | | - | |
| 11 | + | |
12 | 12 | | |
13 | | - | |
| 13 | + | |
14 | 14 | | |
15 | 15 | | |
16 | | - | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
17 | 20 | | |
18 | 21 | | |
19 | 22 | | |
20 | 23 | | |
21 | 24 | | |
22 | 25 | | |
23 | | - | |
| 26 | + | |
24 | 27 | | |
25 | 28 | | |
26 | | - | |
27 | | - | |
28 | | - | |
29 | | - | |
30 | | - | |
31 | | - | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
32 | 35 | | |
33 | 36 | | |
34 | 37 | | |
35 | 38 | | |
36 | 39 | | |
37 | 40 | | |
38 | | - | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
39 | 46 | | |
40 | 47 | | |
| 48 | + | |
41 | 49 | | |
42 | 50 | | |
43 | | - | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
| 60 | + | |
44 | 61 | | |
45 | 62 | | |
46 | | - | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
| 73 | + | |
| 74 | + | |
| 75 | + | |
| 76 | + | |
| 77 | + | |
| 78 | + | |
| 79 | + | |
| 80 | + | |
| 81 | + | |
| 82 | + | |
| 83 | + | |
| 84 | + | |
47 | 85 | | |
| 86 | + | |
48 | 87 | | |
49 | 88 | | |
50 | 89 | | |
51 | | - | |
| 90 | + | |
| 91 | + | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
52 | 95 | | |
53 | 96 | | |
54 | 97 | | |
| |||
0 commit comments