ycdemo / fastapi / tests
- benchmarks
- memory_benchmarks
- test_modules_same_name_body
- test_request_params
- test_telemetry
- test_tutorial
- test_validate_response_recursive
- __init__.py
- forward_reference_type.py
- main.py
- test_additional_properties.py
- test_additional_properties_bool.py
- test_additional_response_extra.py
- test_additional_responses_bad.py
- test_additional_responses_custom_model_in_callback.py
- test_additional_responses_custom_validationerror.py
- test_additional_responses_default_validationerror.py
- test_additional_responses_response_class.py
- test_additional_responses_router.py
- test_additional_responses_union_duplicate_anyof.py
- test_allow_inf_nan_in_enforcing.py
- test_ambiguous_params.py
- test_annotated.py
- test_application.py
- test_arbitrary_types.py
- test_body_alias_choices.py
- test_callable_endpoint.py
- test_compat.py
- test_computed_fields.py
- test_custom_middleware_exception.py
- test_custom_route_class.py
- test_custom_schema_fields.py
- test_custom_swagger_ui_redirect.py
- test_datastructures.py
- test_datetime_custom_encoder.py
- test_default_response_class.py
- test_default_response_class_router.py
- test_dependencies_utils.py
- test_dependency_after_yield_raise.py
- test_dependency_after_yield_streaming.py
- test_dependency_after_yield_websockets.py
- test_dependency_cache.py
- test_dependency_class.py
- test_dependency_contextmanager.py
- test_dependency_contextvars.py
- test_dependency_duplicates.py
- test_dependency_models.py
- test_dependency_overrides.py
- test_dependency_paramless.py
- test_dependency_partial.py
- test_dependency_pep695.py
- test_dependency_security_overrides.py
- test_dependency_wrapped.py
- test_dependency_yield_except_httpexception.py
- test_dependency_yield_scope.py
- test_dependency_yield_scope_websockets.py
- test_depends_hashable.py
- test_deprecated_responses.py
- test_dump_json_fast_path.py
- test_duplicate_models_openapi.py
- test_empty_router.py
- test_enforce_once_required_parameter.py
- test_exception_handlers.py
- test_extra_routes.py
- test_fastapi_cli.py
- test_file_and_form_order_issue_9116.py
- test_filter_pydantic_sub_model_pv2.py
- test_form_default.py
- test_forms_from_non_typing_sequences.py
- test_forms_multiple_models.py
- test_forms_multiple_unions.py
- test_forms_optional_models.py
- test_forms_optional_unions.py
- test_forms_single_model.py
- test_forms_single_param.py
- test_frontend.py
- test_generate_unique_id_function.py
- test_generic_parameterless_depends.py
- test_get_model_definitions_formfeed_escape.py
- test_get_request_body.py
- test_header_cookie_alias_choices.py
- test_header_cookie_optional_models.py
- test_http_connection_injection.py
- test_include_route.py
- test_include_router_defaults_overrides.py
- test_infer_param_optionality.py
- test_inherited_custom_class.py
- test_invalid_path_param.py
- test_invalid_sequence_param.py
- test_json_type.py
- test_jsonable_encoder.py
- test_list_bytes_file_order_preserved_issue_14811.py
- test_local_docs.py
- test_multi_body_errors.py
- test_multi_query_errors.py
- test_multipart_installation.py
- test_multiple_parameter_models.py
- test_nested_annotated_in_sequence.py
- test_no_schema_split.py
- test_no_swagger_ui_redirect.py
- test_openapi_cache_root_path.py
- test_openapi_examples.py
- test_openapi_model_description_trim_on_formfeed.py
- test_openapi_query_parameter_extension.py
- test_openapi_route_extensions.py
- test_openapi_schema_type.py
- test_openapi_separate_input_output_schemas.py
- test_openapi_servers.py
- test_operations_signatures.py
- test_optional_file_list.py
- test_orjson_response_class.py
- test_param_class.py
- test_param_in_path_and_dependency.py
- test_param_include_in_schema.py
- test_params_repr.py
- test_path.py
- test_path_alias_choices.py
- test_prepare_release.py
- test_put_no_body.py
- test_pydantic_v1_error.py
- test_pydanticv2_dataclasses_uuid_stringified_annotations.py
- test_query.py
- test_query_alias_choices.py
- test_query_cookie_header_model_extra_params.py
- test_query_optional_models.py
- test_read_with_orm_mode.py
- test_regex_deprecated_body.py
- test_regex_deprecated_params.py
- test_repeated_cookie_headers.py
- test_repeated_dependency_schema.py
- test_repeated_parameter_alias.py
- test_request_body_parameters_media_type.py
- test_request_param_model_by_alias.py
- test_required_noneable.py
- test_response_by_alias.py
- test_response_change_status_code.py
- test_response_class_no_mediatype.py
- test_response_code_no_body.py
- test_response_dependency.py
- test_response_model_as_return_annotation.py
- test_response_model_data_filter.py
- test_response_model_data_filter_no_inheritance.py
- test_response_model_default_factory.py
- test_response_model_include_exclude.py
- test_response_model_invalid.py
- test_response_model_sub_types.py
- test_response_set_response_code_empty.py
- test_return_none_stringified_annotations.py
- test_route_handler_wrapping.py
- test_route_scope.py
- test_router_circular_import.py
- test_router_events.py
- test_router_include_context.py
- test_router_prefix_with_template.py
- test_router_redirect_slashes.py
- test_schema_compat_pydantic_v2.py
- test_schema_extra_examples.py
- test_schema_ref_pydantic_v2.py
- test_security_api_key_cookie.py
- test_security_api_key_cookie_description.py
- test_security_api_key_cookie_optional.py
- test_security_api_key_header.py
- test_security_api_key_header_description.py
- test_security_api_key_header_optional.py
- test_security_api_key_query.py
- test_security_api_key_query_description.py
- test_security_api_key_query_optional.py
- test_security_http_base.py
- test_security_http_base_description.py
- test_security_http_base_optional.py
- test_security_http_basic_optional.py
- test_security_http_basic_realm.py
- test_security_http_basic_realm_description.py
- test_security_http_bearer.py
- test_security_http_bearer_description.py
- test_security_http_bearer_optional.py
- test_security_http_digest.py
- test_security_http_digest_description.py
- test_security_http_digest_optional.py
- test_security_oauth2.py
- test_security_oauth2_authorization_code_bearer.py
- test_security_oauth2_authorization_code_bearer_description.py
- test_security_oauth2_authorization_code_bearer_scopes_openapi.py
- test_security_oauth2_authorization_code_bearer_scopes_openapi_simple.py
- test_security_oauth2_optional.py
- test_security_oauth2_optional_description.py
- test_security_oauth2_password_bearer_optional.py
- test_security_oauth2_password_bearer_optional_description.py
- test_security_openid_connect.py
- test_security_openid_connect_description.py
- test_security_openid_connect_optional.py
- test_security_scopes.py
- test_security_scopes_dont_propagate.py
- test_security_scopes_sub_dependency.py
- test_security_websockets.py
- test_serialize_response.py
- test_serialize_response_dataclass.py
- test_serialize_response_model.py
- test_skip_defaults.py
- test_sse.py
- test_starlette_exception.py
- test_starlette_urlconvertors.py
- test_stream_bare_type.py
- test_stream_cancellation.py
- test_stream_json_validation_error.py
- test_stream_non_finite_floats.py
- test_stream_status_code.py
- test_strict_content_type_app_level.py
- test_strict_content_type_nested.py
- test_strict_content_type_router_level.py
- test_stringified_annotation_dependency.py
- test_stringified_annotation_dependency_py314.py
- test_stringified_annotations_simple.py
- test_sub_callbacks.py
- test_swagger_ui_escape.py
- test_swagger_ui_init_oauth.py
- test_top_level_security_scheme_in_openapi.py
- test_translate.py
- test_tuples.py
- test_typing_python39.py
- test_union_body.py
- test_union_body_discriminator.py
- test_union_body_discriminator_annotated.py
- test_union_form_normalization.py
- test_union_forms.py
- test_union_inherited_body.py
- test_upload_file_read_position.py
- test_validate_response.py
- test_validate_response_dataclass.py
- test_validation_error_context.py
- test_webhooks_security.py
- test_wrapped_method_forward_reference.py
- test_ws_dependencies.py
- test_ws_router.py
- utils.py