This repository was archived by the owner on Dec 25, 2024. It is now read-only.
Commit 11c24f2
authored
v2 CodegenModel cleanup (#103)
* CodegenModel extends CodegenProperty
* Updates the fromModel signature
* Removes unused code, updates fromModel to use fromProperty
* fromModel now uses a fromProperty helper
* Removes parent and child properties
* Removes interfaces + interfaceModels
* Removes vars properties
* Removes mandatory properties
* Removes 5 unused properties
* Removes classFilename
* Removes model dataType
* Removes type variables from codegenProperty
* Switches className for name.getCamelCaseName
* Updates staticmethod and class names to follow python naming conventions
* Converts properties to Properties
* More fixes for property class name cases
* Adds more schema case fixes
* Fixes the last of the schema name reference issues
* Fixes python tests
* Removes model classname property usages
* Removes classname/classVarName/modelJson
* Some small needed java fixes
* Moves externalDocumentation into ocdegenProperty
* Shortens and improves CodegenParameter equals method
* Adds externalDocs interface to JsonSchema
* Moves discriminator into CodegenProperty
* Moves discriminator creation into fromProperty
* Moves imports into CodegenProperty
* Replaces CodegenModel with CodegenProperty
* CodegenProperty renamed to CodegenSchema
* Updates debugging info
* Removes unused java code
* Removes unused java code
* Fixes syntax errors in defaultcodegentests
* DefaultCodegenTest failures reduced to 3
* Fixes one test
* Fixes java tests
* Fixes DefaultGeneratorTest.testRefModelValidationProperties
* Fixes java tests
* Samples regenerated
* Samples regenerated with endpoint test fix1 parent 00fdfd1 commit 11c24f2
1,156 files changed
Lines changed: 10252 additions & 12870 deletions
File tree
- docs
- modules/openapi-json-schema-generator/src
- main
- java/org/openapitools/codegen
- languages
- model
- utils
- resources/python
- model_templates
- test
- java/org/openapitools/codegen
- java
- python
- resources/3_0
- samples/openapi3/client
- 3_0_3_unit_test/python
- 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
- unit_test_api
- components/schema
- paths
- request_body_post_additionalproperties_allows_a_schema_which_should_validate_request_body/post
- request_body_post_additionalproperties_are_allowed_by_default_request_body/post
- request_body_post_additionalproperties_can_exist_by_itself_request_body/post
- request_body_post_additionalproperties_should_not_look_in_applicators_request_body/post
- request_body_post_allof_combined_with_anyof_oneof_request_body/post
- request_body_post_allof_request_body/post
- request_body_post_allof_simple_types_request_body/post
- request_body_post_allof_with_base_schema_request_body/post
- request_body_post_allof_with_one_empty_schema_request_body/post
- request_body_post_allof_with_the_first_empty_schema_request_body/post
- request_body_post_allof_with_the_last_empty_schema_request_body/post
- request_body_post_allof_with_two_empty_schemas_request_body/post
- request_body_post_anyof_complex_types_request_body/post
- request_body_post_anyof_request_body/post
- request_body_post_anyof_with_base_schema_request_body/post
- request_body_post_anyof_with_one_empty_schema_request_body/post
- request_body_post_array_type_matches_arrays_request_body/post
- request_body_post_boolean_type_matches_booleans_request_body/post
- request_body_post_by_int_request_body/post
- request_body_post_by_number_request_body/post
- request_body_post_by_small_number_request_body/post
- request_body_post_date_time_format_request_body/post
- request_body_post_email_format_request_body/post
- request_body_post_enum_with0_does_not_match_false_request_body/post
- request_body_post_enum_with1_does_not_match_true_request_body/post
- request_body_post_enum_with_escaped_characters_request_body/post
- request_body_post_enum_with_false_does_not_match0_request_body/post
- request_body_post_enum_with_true_does_not_match1_request_body/post
- request_body_post_enums_in_properties_request_body/post
- request_body_post_forbidden_property_request_body/post
- request_body_post_hostname_format_request_body/post
- request_body_post_integer_type_matches_integers_request_body/post
- request_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_request_body/post
- request_body_post_invalid_string_value_for_default_request_body/post
- request_body_post_ipv4_format_request_body/post
- request_body_post_ipv6_format_request_body/post
- request_body_post_json_pointer_format_request_body/post
- request_body_post_maximum_validation_request_body/post
- request_body_post_maximum_validation_with_unsigned_integer_request_body/post
- request_body_post_maxitems_validation_request_body/post
- request_body_post_maxlength_validation_request_body/post
- request_body_post_maxproperties0_means_the_object_is_empty_request_body/post
- request_body_post_maxproperties_validation_request_body/post
- request_body_post_minimum_validation_request_body/post
- request_body_post_minimum_validation_with_signed_integer_request_body/post
- request_body_post_minitems_validation_request_body/post
- request_body_post_minlength_validation_request_body/post
- request_body_post_minproperties_validation_request_body/post
- request_body_post_nested_allof_to_check_validation_semantics_request_body/post
- request_body_post_nested_anyof_to_check_validation_semantics_request_body/post
- request_body_post_nested_items_request_body/post
- request_body_post_nested_oneof_to_check_validation_semantics_request_body/post
- request_body_post_not_more_complex_schema_request_body/post
- request_body_post_not_request_body/post
- request_body_post_nul_characters_in_strings_request_body/post
- request_body_post_null_type_matches_only_the_null_object_request_body/post
- request_body_post_number_type_matches_numbers_request_body/post
- request_body_post_object_properties_validation_request_body/post
- request_body_post_object_type_matches_objects_request_body/post
- request_body_post_oneof_complex_types_request_body/post
- request_body_post_oneof_request_body/post
- request_body_post_oneof_with_base_schema_request_body/post
- request_body_post_oneof_with_empty_schema_request_body/post
- request_body_post_oneof_with_required_request_body/post
- request_body_post_pattern_is_not_anchored_request_body/post
- request_body_post_pattern_validation_request_body/post
- request_body_post_properties_with_escaped_characters_request_body/post
- request_body_post_property_named_ref_that_is_not_a_reference_request_body/post
- request_body_post_ref_in_additionalproperties_request_body/post
- request_body_post_ref_in_allof_request_body/post
- request_body_post_ref_in_anyof_request_body/post
- request_body_post_ref_in_items_request_body/post
- request_body_post_ref_in_not_request_body/post
- request_body_post_ref_in_oneof_request_body/post
- request_body_post_ref_in_property_request_body/post
- request_body_post_required_default_validation_request_body/post
- request_body_post_required_validation_request_body/post
- request_body_post_required_with_empty_array_request_body/post
- request_body_post_required_with_escaped_characters_request_body/post
- request_body_post_simple_enum_validation_request_body/post
- request_body_post_string_type_matches_strings_request_body/post
- request_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_request_body/post
- request_body_post_uniqueitems_false_validation_request_body/post
- request_body_post_uniqueitems_validation_request_body/post
- request_body_post_uri_format_request_body/post
- request_body_post_uri_reference_format_request_body/post
- request_body_post_uri_template_format_request_body/post
- response_body_post_additionalproperties_allows_a_schema_which_should_validate_response_body_for_content_types/post/response_for_200
- response_body_post_additionalproperties_are_allowed_by_default_response_body_for_content_types/post/response_for_200
- response_body_post_additionalproperties_can_exist_by_itself_response_body_for_content_types/post/response_for_200
- response_body_post_additionalproperties_should_not_look_in_applicators_response_body_for_content_types/post/response_for_200
- response_body_post_allof_combined_with_anyof_oneof_response_body_for_content_types/post/response_for_200
- response_body_post_allof_response_body_for_content_types/post/response_for_200
- response_body_post_allof_simple_types_response_body_for_content_types/post/response_for_200
- response_body_post_allof_with_base_schema_response_body_for_content_types/post/response_for_200
- response_body_post_allof_with_one_empty_schema_response_body_for_content_types/post/response_for_200
- response_body_post_allof_with_the_first_empty_schema_response_body_for_content_types/post/response_for_200
- response_body_post_allof_with_the_last_empty_schema_response_body_for_content_types/post/response_for_200
- response_body_post_allof_with_two_empty_schemas_response_body_for_content_types/post/response_for_200
- response_body_post_anyof_complex_types_response_body_for_content_types/post/response_for_200
- response_body_post_anyof_response_body_for_content_types/post/response_for_200
- response_body_post_anyof_with_base_schema_response_body_for_content_types/post/response_for_200
- response_body_post_anyof_with_one_empty_schema_response_body_for_content_types/post/response_for_200
- response_body_post_array_type_matches_arrays_response_body_for_content_types/post/response_for_200
- response_body_post_boolean_type_matches_booleans_response_body_for_content_types/post/response_for_200
- response_body_post_by_int_response_body_for_content_types/post/response_for_200
- response_body_post_by_number_response_body_for_content_types/post/response_for_200
- response_body_post_by_small_number_response_body_for_content_types/post/response_for_200
- response_body_post_date_time_format_response_body_for_content_types/post/response_for_200
- response_body_post_email_format_response_body_for_content_types/post/response_for_200
- response_body_post_enum_with0_does_not_match_false_response_body_for_content_types/post/response_for_200
- response_body_post_enum_with1_does_not_match_true_response_body_for_content_types/post/response_for_200
- response_body_post_enum_with_escaped_characters_response_body_for_content_types/post/response_for_200
- response_body_post_enum_with_false_does_not_match0_response_body_for_content_types/post/response_for_200
- response_body_post_enum_with_true_does_not_match1_response_body_for_content_types/post/response_for_200
- response_body_post_enums_in_properties_response_body_for_content_types/post/response_for_200
- response_body_post_forbidden_property_response_body_for_content_types/post/response_for_200
- response_body_post_hostname_format_response_body_for_content_types/post/response_for_200
- response_body_post_integer_type_matches_integers_response_body_for_content_types/post/response_for_200
- response_body_post_invalid_instance_should_not_raise_error_when_float_division_inf_response_body_for_content_types/post/response_for_200
- response_body_post_invalid_string_value_for_default_response_body_for_content_types/post/response_for_200
- response_body_post_ipv4_format_response_body_for_content_types/post/response_for_200
- response_body_post_ipv6_format_response_body_for_content_types/post/response_for_200
- response_body_post_json_pointer_format_response_body_for_content_types/post/response_for_200
- response_body_post_maximum_validation_response_body_for_content_types/post/response_for_200
- response_body_post_maximum_validation_with_unsigned_integer_response_body_for_content_types/post/response_for_200
- response_body_post_maxitems_validation_response_body_for_content_types/post/response_for_200
- response_body_post_maxlength_validation_response_body_for_content_types/post/response_for_200
- response_body_post_maxproperties0_means_the_object_is_empty_response_body_for_content_types/post/response_for_200
- response_body_post_maxproperties_validation_response_body_for_content_types/post/response_for_200
- response_body_post_minimum_validation_response_body_for_content_types/post/response_for_200
- response_body_post_minimum_validation_with_signed_integer_response_body_for_content_types/post/response_for_200
- response_body_post_minitems_validation_response_body_for_content_types/post/response_for_200
- response_body_post_minlength_validation_response_body_for_content_types/post/response_for_200
- response_body_post_minproperties_validation_response_body_for_content_types/post/response_for_200
- response_body_post_nested_allof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200
- response_body_post_nested_anyof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200
- response_body_post_nested_items_response_body_for_content_types/post/response_for_200
- response_body_post_nested_oneof_to_check_validation_semantics_response_body_for_content_types/post/response_for_200
- response_body_post_not_more_complex_schema_response_body_for_content_types/post/response_for_200
- response_body_post_not_response_body_for_content_types/post/response_for_200
- response_body_post_nul_characters_in_strings_response_body_for_content_types/post/response_for_200
- response_body_post_null_type_matches_only_the_null_object_response_body_for_content_types/post/response_for_200
- response_body_post_number_type_matches_numbers_response_body_for_content_types/post/response_for_200
- response_body_post_object_properties_validation_response_body_for_content_types/post/response_for_200
- response_body_post_object_type_matches_objects_response_body_for_content_types/post/response_for_200
- response_body_post_oneof_complex_types_response_body_for_content_types/post/response_for_200
- response_body_post_oneof_response_body_for_content_types/post/response_for_200
- response_body_post_oneof_with_base_schema_response_body_for_content_types/post/response_for_200
- response_body_post_oneof_with_empty_schema_response_body_for_content_types/post/response_for_200
- response_body_post_oneof_with_required_response_body_for_content_types/post/response_for_200
- response_body_post_pattern_is_not_anchored_response_body_for_content_types/post/response_for_200
- response_body_post_pattern_validation_response_body_for_content_types/post/response_for_200
- response_body_post_properties_with_escaped_characters_response_body_for_content_types/post/response_for_200
- response_body_post_property_named_ref_that_is_not_a_reference_response_body_for_content_types/post/response_for_200
- response_body_post_ref_in_additionalproperties_response_body_for_content_types/post/response_for_200
- response_body_post_ref_in_allof_response_body_for_content_types/post/response_for_200
- response_body_post_ref_in_anyof_response_body_for_content_types/post/response_for_200
- response_body_post_ref_in_items_response_body_for_content_types/post/response_for_200
- response_body_post_ref_in_not_response_body_for_content_types/post/response_for_200
- response_body_post_ref_in_oneof_response_body_for_content_types/post/response_for_200
- response_body_post_ref_in_property_response_body_for_content_types/post/response_for_200
- response_body_post_required_default_validation_response_body_for_content_types/post/response_for_200
- response_body_post_required_validation_response_body_for_content_types/post/response_for_200
- response_body_post_required_with_empty_array_response_body_for_content_types/post/response_for_200
- response_body_post_required_with_escaped_characters_response_body_for_content_types/post/response_for_200
- response_body_post_simple_enum_validation_response_body_for_content_types/post/response_for_200
- response_body_post_string_type_matches_strings_response_body_for_content_types/post/response_for_200
- response_body_post_the_default_keyword_does_not_do_anything_if_the_property_is_missing_response_body_for_content_types/post/response_for_200
- response_body_post_uniqueitems_false_validation_response_body_for_content_types/post/response_for_200
- response_body_post_uniqueitems_validation_response_body_for_content_types/post/response_for_200
- response_body_post_uri_format_response_body_for_content_types/post/response_for_200
- response_body_post_uri_reference_format_response_body_for_content_types/post/response_for_200
- response_body_post_uri_template_format_response_body_for_content_types/post/response_for_200
- features/nonCompliantUseDiscriminatorIfCompositionFails/python/this_package
- components/schema
- paths/operators/post
- petstore/python
- petstore_api
- components
- headers
- parameters
- request_bodies
- responses
- success_inline_content_and_header_response
- success_with_json_api_response_response
- schema
- paths
- another_fake_dummy/patch
- response_for_200
- fake_additional_properties_with_array_of_enums/get
- response_for_200
- fake_body_with_file_schema/put
- fake_body_with_query_params/put
- fake_case_sensitive_params/put
- fake_classname_test/patch
- response_for_200
- fake_delete_coffee_id/delete
- fake_health/get/response_for_200
- fake_inline_additional_properties/post
- fake_inline_composition/post
- response_for_200
- fake_json_form_data/get
- fake_json_patch/patch
- fake_json_with_charset/post
- response_for_200
- fake_obj_in_query/get
- fake_parameter_collisions1_abab_self_ab/post
- response_for_200
- fake_pet_id_upload_image_with_required_file/post
- response_for_200
- fake_query_param_with_json_content_type/get
- response_for_200
- fake_ref_obj_in_query/get
- fake_refs_array_of_enums/post
- response_for_200
- fake_refs_arraymodel/post
- response_for_200
- fake_refs_boolean/post
- response_for_200
- fake_refs_composed_one_of_number_with_validations/post
- response_for_200
- fake_refs_enum/post
- response_for_200
- fake_refs_mammal/post
- response_for_200
- fake_refs_number/post
- response_for_200
- fake_refs_object_model_with_ref_props/post
- response_for_200
- fake_refs_string/post
- response_for_200
- fake_test_query_paramters/put
- fake_upload_download_file/post
- response_for_200
- fake_upload_files/post
- response_for_200
- fake_upload_file/post
- response_for_200
- fake
- delete
- get
- response_for_404
- patch
- response_for_200
- post
- foo/get/response_for_default
- pet_find_by_status/get
- response_for_200
- pet_find_by_tags/get
- response_for_200
- pet_pet_id_upload_image/post
- pet_pet_id
- delete
- get
- response_for_200
- post
- pet
- post
- put
- store_order_order_id
- delete
- get
- response_for_200
- store_order/post
- response_for_200
- user_create_with_array/post
- user_create_with_list/post
- user_login/get
- response_for_200
- user_username
- delete
- get
- response_for_200
- put
- user/post
- tests_manual
- test/test_paths
- test_another_fake_dummy
- test_fake_additional_properties_with_array_of_enums
- test_fake_classname_test
- test_fake_health
- test_fake_inline_composition
- test_fake_json_with_charset
- 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_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_upload_download_file
- test_fake_upload_files
- test_fake_upload_file
- 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_store_inventory
- test_store_order_order_id
- test_store_order
- test_user_login
- test_user_username
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
216 | 216 | | |
217 | 217 | | |
218 | 218 | | |
219 | | - | |
| 219 | + | |
220 | 220 | | |
221 | 221 | | |
222 | 222 | | |
| |||
Lines changed: 2 additions & 4 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
126 | | - | |
127 | | - | |
128 | 126 | | |
129 | 127 | | |
130 | 128 | | |
| |||
145 | 143 | | |
146 | 144 | | |
147 | 145 | | |
148 | | - | |
| 146 | + | |
149 | 147 | | |
150 | 148 | | |
151 | 149 | | |
| |||
277 | 275 | | |
278 | 276 | | |
279 | 277 | | |
280 | | - | |
| 278 | + | |
281 | 279 | | |
282 | 280 | | |
283 | 281 | | |
| |||
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
42 | | - | |
| 42 | + | |
43 | 43 | | |
44 | 44 | | |
45 | 45 | | |
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
159 | | - | |
| 159 | + | |
160 | 160 | | |
161 | 161 | | |
162 | 162 | | |
163 | | - | |
| 163 | + | |
164 | 164 | | |
165 | 165 | | |
166 | 166 | | |
| |||
modules/openapi-json-schema-generator/src/main/java/org/openapitools/codegen/CodegenMediaType.java
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
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 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
0 commit comments