koxudaxi
datamodel-code-generator
BlogDocsChangelog

Add --read-only-write-only-model-type option for OpenAPI readOnly/writeOnly support

#2587
Comparing
add-read-only-write-only-model-typ
(
046f5d4
) with
main
(
930fa74
)
CodSpeed Performance Gauge
-1%
Untouched
30
Skipped
3

Benchmarks

Skipped (3)

Passed

test_main_all_of_ref
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
36.1 ms36.2 ms
test_main_openapi_nullable_31
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
33.7 ms33.7 ms
test_main_jsonschema_special_field_name
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
52 ms52.1 ms
test_main_type_alias_forward_ref_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
45.4 ms45.6 ms
test_main_root_id_jsonschema_self_refs_with_remote_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
70.4 ms70.6 ms
test_main_autodetect
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
49.2 ms49.4 ms
test_main_root_id_jsonschema_self_refs_with_local_file
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
70.1 ms70.4 ms
test_main_jsonschema_id
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
40 ms40.2 ms
test_main_strict_types
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
68.5 ms68.7 ms
test_main_openapi_all_of_required
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
39.4 ms39.5 ms
test_main_jsonschema_field_include_all_keys
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
48.7 ms48.8 ms
test_main_openapi_nullable
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
0%
130.3 ms130.7 ms
test_main_jsonschema_required_and_any_of_required
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
47.2 ms47.4 ms
test_main_json_reuse_enum_default_member
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
0%
66.1 ms66.4 ms
test_main_yaml
tests/main/test_main_yaml.py
CodSpeed Performance Gauge
0%
32.3 ms32.4 ms
test_force_optional
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
-1%
122.8 ms123.4 ms
test_main_with_strip_default_none
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
-1%
108.4 ms109 ms
test_use_default
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
-1%
111.7 ms112.3 ms
test_main_with_snake_case_field
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
-1%
115.5 ms116.2 ms
test_main
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
-1%
110.6 ms111.3 ms
test_main_external_definitions
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
36.2 ms36.5 ms
test_main_jsonschema_no_empty_collapsed_external_model
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
32.4 ms32.8 ms
test_main_jsonschema_external_files
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-1%
34.1 ms34.5 ms
test_main_collapse_root_models
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
-2%
68.5 ms69.5 ms
test_main_jsonschema_nested_deep
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-2%
65.7 ms66.9 ms
test_main_inheritance_forward_ref
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-2%
102.8 ms104.6 ms
test_main_inheritance_forward_ref_keep_model_order
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-2%
102.5 ms104.3 ms
test_main_modular
tests/main/openapi/test_main_openapi.py
CodSpeed Performance Gauge
-2%
310.6 ms317 ms
test_main_jsonschema_multiple_files
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-2%
75 ms76.9 ms
test_main_jsonschema_collapsed_external_references
tests/main/jsonschema/test_main_jsonschema.py
CodSpeed Performance Gauge
-3%
67.4 ms69.8 ms

Commits

Click on a commit to change the comparison range
Base
main
930fa74
-0.84%
docs: update command help in README 🤖 Generated by GitHub Actions
046f5d4
2 hours ago
by github-actions[bot]
© 2025 CodSpeed Technology
Home Terms Privacy Docs