Avatar for the sparckles user
sparckles
Robyn
BlogDocsChangelog

fix: improve OpenAPI schema generation for complex types

#1377Merged
Comparing
fix/openapi-schema-generation-v2
(
ab4bb07
) with
main
(
80d748e
)
CodSpeed Performance Gauge
0%
Untouched
190

Benchmarks

190 total
test_invalid_authentication_no_token[sync]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_local_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
+1%
2.5 ms2.5 ms
test_docs_handler
integration_tests/test_openapi.py
CodSpeed Performance Gauge
+1%
2.5 ms2.5 ms
test_sse_empty_stream
integration_tests/test_sse.py
CodSpeed Performance Gauge
+1%
2.6 ms2.6 ms
test_web_socket_raw_benchmark
integration_tests/test_web_sockets.py
CodSpeed Performance Gauge
+1%
1.6 ms1.6 ms
test_invalid_authentication_header_trailing_slash[async]
integration_tests/test_authentication.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sse_named_events
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sse_custom_status_code
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sse_custom_headers
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sse_middleware_compatibility
integration_tests/test_sse.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_global_middleware
integration_tests/test_middlewares.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_exception_handling[/sync/post/no_dec-post]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
0%
2.7 ms2.6 ms
test_global_index_request
integration_tests/test_base_url.py
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
test_split_request_params_get_query_params[split_request_untyped-async]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
7.3 ms7.3 ms
test_trailing_slash
integration_tests/test_get_requests.py
CodSpeed Performance Gauge
0%
4.6 ms4.6 ms
test_put_with_param[sync]
integration_tests/test_put_requests.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_202_status_code
integration_tests/test_status_code.py
CodSpeed Performance Gauge
0%
2.5 ms2.5 ms
test_serve_html[sync]
integration_tests/test_get_requests.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_sub_router[post]
integration_tests/test_subrouter.py
CodSpeed Performance Gauge
0%
2.6 ms2.6 ms
test_json_body_bare[sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_split_request_params_get_query_params[split_request_typed-sync]
integration_tests/test_split_request_params.py
CodSpeed Performance Gauge
0%
7.2 ms7.2 ms
test_exception_handling[/async/post/no_dec-post]
integration_tests/test_add_route_without_decorator.py
CodSpeed Performance Gauge
0%
2.7 ms2.7 ms
test_sub_router_web_socket
integration_tests/test_subrouter.py
CodSpeed Performance Gauge
0%
1.1 ms1.1 ms
test_put[async]
integration_tests/test_put_requests.py
CodSpeed Performance Gauge
0%
3 ms3 ms
test_param[sync]
integration_tests/test_get_requests.py
CodSpeed Performance Gauge
0%
4.7 ms4.6 ms

Commits

Click on a commit to change the comparison range
Base
main
80d748e
+0.09%
fix(openapi): emit minimal {type: X} for Optional[primitive]
b63220f
2 days ago
by sansyrox
-0.04%
fix(openapi): handle general Union types and PEP 604 unions
ab4bb07
2 days ago
by sansyrox
© 2026 CodSpeed Technology
Home Terms Privacy Docs