.gitignore
CODE_OF_CONDUCT.md
LICENSE
MANIFEST.in
README.md
mkdocs.yml
mypy.ini
pyproject.toml
setup.cfg
setup.py
.github/dependabot.yml
.github/ISSUE_TEMPLATE/bug_report.md
.github/ISSUE_TEMPLATE/feature_request.md
.github/workflows/docs.yml
.github/workflows/publish.yml
.github/workflows/test.yml
datamodel_code_generator/__init__.py
datamodel_code_generator/__main__.py
datamodel_code_generator/format.py
datamodel_code_generator/http.py
datamodel_code_generator/imports.py
datamodel_code_generator/reference.py
datamodel_code_generator/types.py
datamodel_code_generator/version.py
datamodel_code_generator.egg-info/PKG-INFO
datamodel_code_generator.egg-info/SOURCES.txt
datamodel_code_generator.egg-info/dependency_links.txt
datamodel_code_generator.egg-info/entry_points.txt
datamodel_code_generator.egg-info/requires.txt
datamodel_code_generator.egg-info/top_level.txt
datamodel_code_generator.egg-info/zip-safe
datamodel_code_generator/model/__init__.py
datamodel_code_generator/model/base.py
datamodel_code_generator/model/enum.py
datamodel_code_generator/model/pydantic/__init__.py
datamodel_code_generator/model/pydantic/base_model.py
datamodel_code_generator/model/pydantic/custom_root_type.py
datamodel_code_generator/model/pydantic/dataclass.py
datamodel_code_generator/model/pydantic/imports.py
datamodel_code_generator/model/pydantic/types.py
datamodel_code_generator/model/template/Enum.jinja2
datamodel_code_generator/model/template/pydantic/BaseModel.jinja2
datamodel_code_generator/model/template/pydantic/BaseModel_root.jinja2
datamodel_code_generator/model/template/pydantic/Config.jinja2
datamodel_code_generator/model/template/pydantic/dataclass.jinja2
datamodel_code_generator/parser/__init__.py
datamodel_code_generator/parser/base.py
datamodel_code_generator/parser/jsonschema.py
datamodel_code_generator/parser/openapi.py
docs/.gitkeep
docs/development-contributing.md
docs/field-constraints.md
docs/formatting.md
docs/index.md
docs/jsondata.md
docs/jsonschema.md
docs/openapi.md
docs/pyproject_toml.md
docs/support-data-types.md
docs/using_as_module.md
scripts/format.sh
scripts/lint.sh
scripts/test.bat
scripts/test.sh
tests/__init__.py
tests/test_imports.py
tests/test_main.py
tests/test_main_kr.py
tests/test_reference.py
tests/data/pyproject.toml
tests/data/csv/simple.csv
tests/data/expected/main/all_of_ref/output.py
tests/data/expected/main/all_of_with_object/output.py
tests/data/expected/main/allow_population_by_field_name/output.py
tests/data/expected/main/combined_array/output.py
tests/data/expected/main/csv_file_simple/output.py
tests/data/expected/main/csv_stdin_simple/output.py
tests/data/expected/main/disable_timestamp/output.py
tests/data/expected/main/enable_faux_immutability/output.py
tests/data/expected/main/force_optional/output.py
tests/data/expected/main/main/output.py
tests/data/expected/main/main_autodetect/output.py
tests/data/expected/main/main_base_class/output.py
tests/data/expected/main/main_circular_reference/output.py
tests/data/expected/main/main_complicated_enum_default_member/output.py
tests/data/expected/main/main_custom_template_dir/output.py
tests/data/expected/main/main_disable_appending_item_suffix/output.py
tests/data/expected/main/main_external_definitions/output.py
tests/data/expected/main/main_external_files_in_directory/output.py
tests/data/expected/main/main_invalid_enum_name/output.py
tests/data/expected/main/main_invalid_model_name/output.py
tests/data/expected/main/main_json/output.py
tests/data/expected/main/main_json_array_include_null/output.py
tests/data/expected/main/main_json_pointer/output.py
tests/data/expected/main/main_json_reuse_enum/output.py
tests/data/expected/main/main_json_reuse_enum_default_member/output.py
tests/data/expected/main/main_json_reuse_model/output.py
tests/data/expected/main/main_jsonschema/output.py
tests/data/expected/main/main_jsonschema_combine_any_of_object/output.py
tests/data/expected/main/main_jsonschema_combine_one_of_object/output.py
tests/data/expected/main/main_jsonschema_complex_any_of/output.py
tests/data/expected/main/main_jsonschema_complex_one_of/output.py
tests/data/expected/main/main_jsonschema_external_files/output.py
tests/data/expected/main/main_jsonschema_field_extras/output.py
tests/data/expected/main/main_jsonschema_field_extras_field_extra_keys/output.py
tests/data/expected/main/main_jsonschema_field_extras_field_include_all_keys/output.py
tests/data/expected/main/main_jsonschema_id/output.py
tests/data/expected/main/main_jsonschema_id_stdin/output.py
tests/data/expected/main/main_jsonschema_ids/ContactPoint.py
tests/data/expected/main/main_jsonschema_ids/URI.py
tests/data/expected/main/main_jsonschema_ids/__init__.py
tests/data/expected/main/main_jsonschema_ids/id.py
tests/data/expected/main/main_jsonschema_ids/name.py
tests/data/expected/main/main_jsonschema_ids/sameAs.py
tests/data/expected/main/main_jsonschema_ids/type.py
tests/data/expected/main/main_jsonschema_nested_deep/__init__.py
tests/data/expected/main/main_jsonschema_nested_deep/empty_parent/nested/deep.py
tests/data/expected/main/main_jsonschema_nested_deep/nested/deep.py
tests/data/expected/main/main_jsonschema_special_enum/output.py
tests/data/expected/main/main_jsonschema_special_enum_empty_enum_field_name/output.py
tests/data/expected/main/main_jsonschema_special_field_name/output.py
tests/data/expected/main/main_modular/__init__.py
tests/data/expected/main/main_modular/bar.py
tests/data/expected/main/main_modular/collections.py
tests/data/expected/main/main_modular/models.py
tests/data/expected/main/main_modular/foo/__init__.py
tests/data/expected/main/main_modular/foo/bar.py
tests/data/expected/main/main_modular/nested/__init__.py
tests/data/expected/main/main_modular/nested/foo.py
tests/data/expected/main/main_modular/woo/__init__.py
tests/data/expected/main/main_modular/woo/boo.py
tests/data/expected/main/main_modular_custom_class_name/__init__.py
tests/data/expected/main/main_modular_custom_class_name/bar.py
tests/data/expected/main/main_modular_custom_class_name/collections.py
tests/data/expected/main/main_modular_custom_class_name/models.py
tests/data/expected/main/main_modular_custom_class_name/foo/__init__.py
tests/data/expected/main/main_modular_custom_class_name/foo/bar.py
tests/data/expected/main/main_modular_custom_class_name/nested/__init__.py
tests/data/expected/main/main_modular_custom_class_name/nested/foo.py
tests/data/expected/main/main_modular_custom_class_name/woo/__init__.py
tests/data/expected/main/main_modular_custom_class_name/woo/boo.py
tests/data/expected/main/main_modular_reuse_model/__init__.py
tests/data/expected/main/main_modular_reuse_model/bar.py
tests/data/expected/main/main_modular_reuse_model/collections.py
tests/data/expected/main/main_modular_reuse_model/models.py
tests/data/expected/main/main_modular_reuse_model/foo/__init__.py
tests/data/expected/main/main_modular_reuse_model/foo/bar.py
tests/data/expected/main/main_modular_reuse_model/nested/__init__.py
tests/data/expected/main/main_modular_reuse_model/nested/foo.py
tests/data/expected/main/main_modular_reuse_model/woo/__init__.py
tests/data/expected/main/main_modular_reuse_model/woo/boo.py
tests/data/expected/main/main_nested_directory/__init__.py
tests/data/expected/main/main_nested_directory/person.py
tests/data/expected/main/main_nested_directory/definitions/__init__.py
tests/data/expected/main/main_nested_directory/definitions/food.py
tests/data/expected/main/main_nested_directory/definitions/friends.py
tests/data/expected/main/main_nested_directory/definitions/fur.py
tests/data/expected/main/main_nested_directory/definitions/pet.py
tests/data/expected/main/main_nested_directory/definitions/drink/__init__.py
tests/data/expected/main/main_nested_directory/definitions/drink/coffee.py
tests/data/expected/main/main_nested_directory/definitions/drink/tea.py
tests/data/expected/main/main_nested_directory/definitions/machine/__init__.py
tests/data/expected/main/main_nested_directory/definitions/machine/robot.py
tests/data/expected/main/main_nested_json_pointer/output.py
tests/data/expected/main/main_no_file/output.py
tests/data/expected/main/main_null_and_array/output.py
tests/data/expected/main/main_openapi_datetime/output.py
tests/data/expected/main/main_openapi_enum_models_all/output.py
tests/data/expected/main/main_openapi_enum_models_as_literal_py37/output.py
tests/data/expected/main/main_openapi_enum_models_one/output.py
tests/data/expected/main/main_openapi_http_refs/output.py
tests/data/expected/main/main_openapi_nullable/output.py
tests/data/expected/main/main_openapi_nullable_strict_nullable/output.py
tests/data/expected/main/main_pattern/output.py
tests/data/expected/main/main_root_id/output.py
tests/data/expected/main/main_root_model_with_additional_properties/output.py
tests/data/expected/main/main_root_model_with_additional_properties_custom_class_name/output.py
tests/data/expected/main/main_root_model_with_additional_properties_literal/output.py
tests/data/expected/main/main_root_model_with_additional_properties_use_generic_container_types/output.py
tests/data/expected/main/main_root_model_with_additional_properties_use_standard_collections/output.py
tests/data/expected/main/main_self_reference/output.py
tests/data/expected/main/main_similar_nested_array/output.py
tests/data/expected/main/main_strict_types/output.py
tests/data/expected/main/main_strict_types_all/output.py
tests/data/expected/main/main_strict_types_all_field_constraints/output.py
tests/data/expected/main/main_subclass_enum/output.py
tests/data/expected/main/main_use_generic_container_types/__init__.py
tests/data/expected/main/main_use_generic_container_types/collections.py
tests/data/expected/main/main_use_generic_container_types/models.py
tests/data/expected/main/main_use_generic_container_types/foo/__init__.py
tests/data/expected/main/main_use_generic_container_types/foo/bar.py
tests/data/expected/main/main_use_generic_container_types/nested/__init__.py
tests/data/expected/main/main_use_generic_container_types/nested/foo.py
tests/data/expected/main/main_use_generic_container_types/woo/__init__.py
tests/data/expected/main/main_use_generic_container_types/woo/boo.py
tests/data/expected/main/main_use_generic_container_types_standard_collections/__init__.py
tests/data/expected/main/main_use_generic_container_types_standard_collections/collections.py
tests/data/expected/main/main_use_generic_container_types_standard_collections/models.py
tests/data/expected/main/main_use_generic_container_types_standard_collections/foo/__init__.py
tests/data/expected/main/main_use_generic_container_types_standard_collections/foo/bar.py
tests/data/expected/main/main_use_generic_container_types_standard_collections/nested/__init__.py
tests/data/expected/main/main_use_generic_container_types_standard_collections/nested/foo.py
tests/data/expected/main/main_use_generic_container_types_standard_collections/woo/__init__.py
tests/data/expected/main/main_use_generic_container_types_standard_collections/woo/boo.py
tests/data/expected/main/main_use_standard_collections/__init__.py
tests/data/expected/main/main_use_standard_collections/collections.py
tests/data/expected/main/main_use_standard_collections/models.py
tests/data/expected/main/main_use_standard_collections/foo/__init__.py
tests/data/expected/main/main_use_standard_collections/foo/bar.py
tests/data/expected/main/main_use_standard_collections/nested/__init__.py
tests/data/expected/main/main_use_standard_collections/nested/foo.py
tests/data/expected/main/main_use_standard_collections/woo/__init__.py
tests/data/expected/main/main_use_standard_collections/woo/boo.py
tests/data/expected/main/main_with_aliases/output.py
tests/data/expected/main/main_with_exclusive/output.py
tests/data/expected/main/main_with_field_constraints/output.py
tests/data/expected/main/main_with_snake_case_field/output.py
tests/data/expected/main/main_with_strip_default_none/output.py
tests/data/expected/main/main_without_field_constraints/output.py
tests/data/expected/main/main_yaml/output.py
tests/data/expected/main/multiple_files/__init__.py
tests/data/expected/main/multiple_files/file_a.py
tests/data/expected/main/multiple_files/file_b.py
tests/data/expected/main/multiple_files/file_c.py
tests/data/expected/main/multiple_files/file_d.py
tests/data/expected/main/multiple_files_json_pointer/__init__.py
tests/data/expected/main/multiple_files_json_pointer/file_a.py
tests/data/expected/main/multiple_files_json_pointer/file_b.py
tests/data/expected/main/multiple_files_json_pointer/file_c.py
tests/data/expected/main/multiple_files_self_ref/__init__.py
tests/data/expected/main/multiple_files_self_ref/base_test.py
tests/data/expected/main/multiple_files_self_ref/test.py
tests/data/expected/main/multiple_files_self_ref_single/output.py
tests/data/expected/main/pyproject/output.py
tests/data/expected/main/pyproject_not_found/output.py
tests/data/expected/main/simple_json_snake_case_field/output.py
tests/data/expected/main/space_and_special_characters/output.py
tests/data/expected/main/space_and_special_characters_dict/output.py
tests/data/expected/main/stdin/output.py
tests/data/expected/main/target_python_version/output.py
tests/data/expected/main/use_default/output.py
tests/data/expected/main/validation/output.py
tests/data/expected/main_kr/main/output.py
tests/data/expected/main_kr/main_base_class/output.py
tests/data/expected/main_kr/main_custom_template_dir/output.py
tests/data/expected/main_kr/main_modular/__init__.py
tests/data/expected/main_kr/main_modular/bar.py
tests/data/expected/main_kr/main_modular/collections.py
tests/data/expected/main_kr/main_modular/models.py
tests/data/expected/main_kr/main_modular/foo/__init__.py
tests/data/expected/main_kr/main_modular/foo/bar.py
tests/data/expected/main_kr/main_modular/nested/__init__.py
tests/data/expected/main_kr/main_modular/nested/foo.py
tests/data/expected/main_kr/main_modular/woo/__init__.py
tests/data/expected/main_kr/main_modular/woo/boo.py
tests/data/expected/main_kr/main_no_file/output.py
tests/data/expected/main_kr/main_use_schema_description/output.py
tests/data/expected/main_kr/pyproject/output.py
tests/data/expected/main_kr/target_python_version/output.py
tests/data/expected/parser/openapi/openapi_parser_parse/format.py
tests/data/expected/parser/openapi/openapi_parser_parse/with_import.py
tests/data/expected/parser/openapi/openapi_parser_parse/with_import_format.py
tests/data/expected/parser/openapi/openapi_parser_parse/with_import_format_custom_module.Base.py
tests/data/expected/parser/openapi/openapi_parser_parse_additional_properties/format.py
tests/data/expected/parser/openapi/openapi_parser_parse_additional_properties/with_import.py
tests/data/expected/parser/openapi/openapi_parser_parse_additional_properties/with_import_format.py
tests/data/expected/parser/openapi/openapi_parser_parse_additional_properties/with_import_format_custom_module.Base.py
tests/data/expected/parser/openapi/openapi_parser_parse_alias/__init__.py
tests/data/expected/parser/openapi/openapi_parser_parse_alias/collection_s.py
tests/data/expected/parser/openapi/openapi_parser_parse_alias/model_s.py
tests/data/expected/parser/openapi/openapi_parser_parse_alias/fo_o/__init__.py
tests/data/expected/parser/openapi/openapi_parser_parse_alias/fo_o/ba_r.py
tests/data/expected/parser/openapi/openapi_parser_parse_alias/wo_o/__init__.py
tests/data/expected/parser/openapi/openapi_parser_parse_alias/wo_o/bo_o.py
tests/data/expected/parser/openapi/openapi_parser_parse_allof/output.py
tests/data/expected/parser/openapi/openapi_parser_parse_any/output.py
tests/data/expected/parser/openapi/openapi_parser_parse_anyof/output.py
tests/data/expected/parser/openapi/openapi_parser_parse_array_enum/with_import_format.py
tests/data/expected/parser/openapi/openapi_parser_parse_duplicate_models/output.py
tests/data/expected/parser/openapi/openapi_parser_parse_enum_models/output_py36.py
tests/data/expected/parser/openapi/openapi_parser_parse_enum_models/output_py37.py
tests/data/expected/parser/openapi/openapi_parser_parse_modular/__init__.py
tests/data/expected/parser/openapi/openapi_parser_parse_modular/bar.py
tests/data/expected/parser/openapi/openapi_parser_parse_modular/collections.py
tests/data/expected/parser/openapi/openapi_parser_parse_modular/models.py
tests/data/expected/parser/openapi/openapi_parser_parse_modular/foo/__init__.py
tests/data/expected/parser/openapi/openapi_parser_parse_modular/foo/bar.py
tests/data/expected/parser/openapi/openapi_parser_parse_modular/nested/__init__.py
tests/data/expected/parser/openapi/openapi_parser_parse_modular/nested/foo.py
tests/data/expected/parser/openapi/openapi_parser_parse_modular/woo/__init__.py
tests/data/expected/parser/openapi/openapi_parser_parse_modular/woo/boo.py
tests/data/expected/parser/openapi/openapi_parser_parse_nested_anyof/output.py
tests/data/expected/parser/openapi/openapi_parser_parse_nested_oneof/output.py
tests/data/expected/parser/openapi/openapi_parser_parse_oneof/output.py
tests/data/expected/parser/openapi/openapi_parser_parse_remote_ref/with_import_format.py
tests/data/expected/parser/openapi/openapi_parser_parse_resolved_models/output.py
tests/data/json/array_include_null.json
tests/data/json/broken.json
tests/data/json/duplicate_models.json
tests/data/json/pet.json
tests/data/json/simple.json
tests/data/json/space_and_special_characters.json
tests/data/jsonschema/all_of_with_object.json
tests/data/jsonschema/circular_reference.json
tests/data/jsonschema/combine_any_of_object.json
tests/data/jsonschema/combine_one_of_object.json
tests/data/jsonschema/combined_array.json
tests/data/jsonschema/complex_any_of.json
tests/data/jsonschema/complex_one_of.json
tests/data/jsonschema/complicated_enum.json
tests/data/jsonschema/datetime.json
tests/data/jsonschema/duplicate_enum.json
tests/data/jsonschema/external_child.json
tests/data/jsonschema/external_child.yaml
tests/data/jsonschema/external_child_root.json
tests/data/jsonschema/external_definitions.json
tests/data/jsonschema/external_definitions_root.json
tests/data/jsonschema/external_parent.json
tests/data/jsonschema/external_parent_root.json
tests/data/jsonschema/extras.json
tests/data/jsonschema/id.json
tests/data/jsonschema/invalid_enum_name.json
tests/data/jsonschema/invalid_model_name.json
tests/data/jsonschema/json_pointer.json
tests/data/jsonschema/nested_array.json
tests/data/jsonschema/nested_array.json.snapshot
tests/data/jsonschema/nested_json_pointer.json
tests/data/jsonschema/nested_person.json
tests/data/jsonschema/null_and_array.json
tests/data/jsonschema/oneof.json
tests/data/jsonschema/oneof.json.snapshot
tests/data/jsonschema/pattern.json
tests/data/jsonschema/person.json
tests/data/jsonschema/root_id.json
tests/data/jsonschema/root_id_ref.json
tests/data/jsonschema/root_id_self_ref.json
tests/data/jsonschema/root_model_with_additional_properties.json
tests/data/jsonschema/self_reference.json
tests/data/jsonschema/similar_nested_array.json
tests/data/jsonschema/special_enum.json
tests/data/jsonschema/special_field_name.json
tests/data/jsonschema/strict_types.json
tests/data/jsonschema/user.json
tests/data/jsonschema/all_of_ref/base_test.json
tests/data/jsonschema/all_of_ref/test.json
tests/data/jsonschema/external_files_in_directory/person.json
tests/data/jsonschema/external_files_in_directory/definitions/food.json
tests/data/jsonschema/external_files_in_directory/definitions/friends.json
tests/data/jsonschema/external_files_in_directory/definitions/fur.json
tests/data/jsonschema/external_files_in_directory/definitions/pet.json
tests/data/jsonschema/external_files_in_directory/definitions/drink/coffee.json
tests/data/jsonschema/external_files_in_directory/definitions/drink/tea.json
tests/data/jsonschema/external_files_in_directory/definitions/machine/robot.json
tests/data/jsonschema/ids/ContactPoint.schema.json
tests/data/jsonschema/ids/Organization.schema.json
tests/data/jsonschema/ids/URI.schema.json
tests/data/jsonschema/ids/context.schema.json
tests/data/jsonschema/ids/id.schema.json
tests/data/jsonschema/ids/name.schema.json
tests/data/jsonschema/ids/sameAs.schema.json
tests/data/jsonschema/ids/schema.schema.json
tests/data/jsonschema/ids/type.schema.json
tests/data/jsonschema/multiple_files/file_a.json
tests/data/jsonschema/multiple_files/file_b.json
tests/data/jsonschema/multiple_files/file_c.json
tests/data/jsonschema/multiple_files/file_d.json
tests/data/jsonschema/multiple_files_json_pointer/file_a.json
tests/data/jsonschema/multiple_files_json_pointer/file_b.json
tests/data/jsonschema/multiple_files_json_pointer/file_c.json
tests/data/jsonschema/multiple_files_self_ref/base_test.json
tests/data/jsonschema/multiple_files_self_ref/test.json
tests/data/openapi/additional_properties.yaml
tests/data/openapi/alias.yaml
tests/data/openapi/aliases.json
tests/data/openapi/allof.yaml
tests/data/openapi/any.yaml
tests/data/openapi/anyof.yaml
tests/data/openapi/api.yaml
tests/data/openapi/api_constrained.yaml
tests/data/openapi/array_enum.yaml
tests/data/openapi/datetime.yaml
tests/data/openapi/definitions.yaml
tests/data/openapi/duplicate_models.yaml
tests/data/openapi/empty_aliases.json
tests/data/openapi/empty_data.json
tests/data/openapi/enum_models.yaml
tests/data/openapi/example.yaml
tests/data/openapi/exclusive.yaml
tests/data/openapi/extra_data.json
tests/data/openapi/invalid.yaml
tests/data/openapi/lazy_resolved_models.yaml
tests/data/openapi/list.json
tests/data/openapi/modular.yaml
tests/data/openapi/nested_anyof.yaml
tests/data/openapi/nested_oneof.yaml
tests/data/openapi/no_components.yaml
tests/data/openapi/not.json
tests/data/openapi/nullable.yaml
tests/data/openapi/oneof.yaml
tests/data/openapi/pattern.yaml
tests/data/openapi/refs.yaml
tests/data/openapi/resolved_models.yaml
tests/data/openapi/subclass_enum.json
tests/data/openapi/x_enum_varnames.yaml
tests/data/project/pyproject.toml
tests/data/python/space_and_special_characters_dict.py
tests/data/templates/BaseModel.jinja2
tests/data/yaml/pet.yaml
tests/model/__init__.py
tests/model/test_base.py
tests/model/pydantic/__init__.py
tests/model/pydantic/test_base_model.py
tests/model/pydantic/test_custom_root_type.py
tests/model/pydantic/test_data_class.py
tests/model/pydantic/test_types.py
tests/parser/__init__.py
tests/parser/test_base.py
tests/parser/test_jsonschema.py
tests/parser/test_openapi.py