diff --git a/docs/tutorial/first-steps.md b/docs/tutorial/first-steps.md index af6661bed..dd916f330 100644 --- a/docs/tutorial/first-steps.md +++ b/docs/tutorial/first-steps.md @@ -92,7 +92,7 @@ It will show a JSON starting with something like: { "openapi": "3.0.2", "info": { - "title": "Fast API", + "title": "FastAPI", "version": "0.1.0" }, "paths": { diff --git a/fastapi/applications.py b/fastapi/applications.py index 5a533866b..ff2eb52c8 100644 --- a/fastapi/applications.py +++ b/fastapi/applications.py @@ -32,7 +32,7 @@ class FastAPI(Starlette): debug: bool = False, routes: List[BaseRoute] = None, template_directory: str = None, - title: str = "Fast API", + title: str = "FastAPI", description: str = "", version: str = "0.1.0", openapi_url: Optional[str] = "/openapi.json", diff --git a/tests/test_additional_properties.py b/tests/test_additional_properties.py index 54cc74fa6..71165e046 100644 --- a/tests/test_additional_properties.py +++ b/tests/test_additional_properties.py @@ -21,7 +21,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/foo": { "post": { diff --git a/tests/test_additional_response_extra.py b/tests/test_additional_response_extra.py index e2381cd7d..09b4446ee 100644 --- a/tests/test_additional_response_extra.py +++ b/tests/test_additional_response_extra.py @@ -20,7 +20,7 @@ app.include_router(router) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_additional_responses_bad.py b/tests/test_additional_responses_bad.py index fda475576..fb9208ba8 100644 --- a/tests/test_additional_responses_bad.py +++ b/tests/test_additional_responses_bad.py @@ -12,7 +12,7 @@ async def a(): openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": { diff --git a/tests/test_additional_responses_custom_validationerror.py b/tests/test_additional_responses_custom_validationerror.py index 37982eef4..65fa62875 100644 --- a/tests/test_additional_responses_custom_validationerror.py +++ b/tests/test_additional_responses_custom_validationerror.py @@ -32,7 +32,7 @@ async def a(id): openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a/{id}": { "get": { diff --git a/tests/test_additional_responses_default_validationerror.py b/tests/test_additional_responses_default_validationerror.py index ac22bf573..345357584 100644 --- a/tests/test_additional_responses_default_validationerror.py +++ b/tests/test_additional_responses_default_validationerror.py @@ -11,7 +11,7 @@ async def a(id): openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a/{id}": { "get": { diff --git a/tests/test_additional_responses_response_class.py b/tests/test_additional_responses_response_class.py index 81c28e348..a26724afa 100644 --- a/tests/test_additional_responses_response_class.py +++ b/tests/test_additional_responses_response_class.py @@ -37,7 +37,7 @@ async def b(): openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": { diff --git a/tests/test_additional_responses_router.py b/tests/test_additional_responses_router.py index 028026e67..c54d73a3e 100644 --- a/tests/test_additional_responses_router.py +++ b/tests/test_additional_responses_router.py @@ -37,7 +37,7 @@ app.include_router(router) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": { diff --git a/tests/test_application.py b/tests/test_application.py index 11f463336..ba5f2e940 100644 --- a/tests/test_application.py +++ b/tests/test_application.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/api_route": { "get": { diff --git a/tests/test_custom_route_class.py b/tests/test_custom_route_class.py index 8bbf88ad3..cca32e399 100644 --- a/tests/test_custom_route_class.py +++ b/tests/test_custom_route_class.py @@ -47,7 +47,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a/": { "get": { diff --git a/tests/test_extra_routes.py b/tests/test_extra_routes.py index bfe79d77f..d9e1f321d 100644 --- a/tests/test_extra_routes.py +++ b/tests/test_extra_routes.py @@ -52,7 +52,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_filter_pydantic_sub_model.py b/tests/test_filter_pydantic_sub_model.py index 1b2285339..aef635040 100644 --- a/tests/test_filter_pydantic_sub_model.py +++ b/tests/test_filter_pydantic_sub_model.py @@ -33,7 +33,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/model": { "get": { diff --git a/tests/test_modules_same_name_body/test_main.py b/tests/test_modules_same_name_body/test_main.py index bf50b7566..a2dcb6e57 100644 --- a/tests/test_modules_same_name_body/test_main.py +++ b/tests/test_modules_same_name_body/test_main.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a/compute": { "post": { diff --git a/tests/test_multi_body_errors.py b/tests/test_multi_body_errors.py index 5824cda23..d506fe7f6 100644 --- a/tests/test_multi_body_errors.py +++ b/tests/test_multi_body_errors.py @@ -23,7 +23,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "post": { diff --git a/tests/test_multi_query_errors.py b/tests/test_multi_query_errors.py index 1e722dc06..c2785479f 100644 --- a/tests/test_multi_query_errors.py +++ b/tests/test_multi_query_errors.py @@ -16,7 +16,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_put_no_body.py b/tests/test_put_no_body.py index 1f1a1c00a..0a7cec2a2 100644 --- a/tests/test_put_no_body.py +++ b/tests/test_put_no_body.py @@ -14,7 +14,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "put": { diff --git a/tests/test_repeated_dependency_schema.py b/tests/test_repeated_dependency_schema.py index 5b8ba82c0..042e962e9 100644 --- a/tests/test_repeated_dependency_schema.py +++ b/tests/test_repeated_dependency_schema.py @@ -50,7 +50,7 @@ schema = { }, } }, - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "openapi": "3.0.2", "paths": { "/": { diff --git a/tests/test_response_class_no_mediatype.py b/tests/test_response_class_no_mediatype.py index d5e35f388..b8969a35e 100644 --- a/tests/test_response_class_no_mediatype.py +++ b/tests/test_response_class_no_mediatype.py @@ -37,7 +37,7 @@ async def b(): openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": { diff --git a/tests/test_response_code_no_body.py b/tests/test_response_code_no_body.py index 19a59df36..0d5051b3c 100644 --- a/tests/test_response_code_no_body.py +++ b/tests/test_response_code_no_body.py @@ -38,7 +38,7 @@ async def b(): openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/a": { "get": { diff --git a/tests/test_security_api_key_cookie.py b/tests/test_security_api_key_cookie.py index e5577350e..ed59526b1 100644 --- a/tests/test_security_api_key_cookie.py +++ b/tests/test_security_api_key_cookie.py @@ -26,7 +26,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_api_key_cookie_optional.py b/tests/test_security_api_key_cookie_optional.py index 95f0f2c68..a0edbcfae 100644 --- a/tests/test_security_api_key_cookie_optional.py +++ b/tests/test_security_api_key_cookie_optional.py @@ -33,7 +33,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_api_key_header.py b/tests/test_security_api_key_header.py index 376ae5337..057beb5ed 100644 --- a/tests/test_security_api_key_header.py +++ b/tests/test_security_api_key_header.py @@ -26,7 +26,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_api_key_header_optional.py b/tests/test_security_api_key_header_optional.py index 07629253a..9f264dc5f 100644 --- a/tests/test_security_api_key_header_optional.py +++ b/tests/test_security_api_key_header_optional.py @@ -32,7 +32,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_api_key_query.py b/tests/test_security_api_key_query.py index 13eb7abcc..680f79a70 100644 --- a/tests/test_security_api_key_query.py +++ b/tests/test_security_api_key_query.py @@ -26,7 +26,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_api_key_query_optional.py b/tests/test_security_api_key_query_optional.py index 2a80c14b1..2142adf7d 100644 --- a/tests/test_security_api_key_query_optional.py +++ b/tests/test_security_api_key_query_optional.py @@ -32,7 +32,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_http_base.py b/tests/test_security_http_base.py index b02407ca3..5b937b881 100644 --- a/tests/test_security_http_base.py +++ b/tests/test_security_http_base.py @@ -16,7 +16,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_http_base_optional.py b/tests/test_security_http_base_optional.py index 1f3cb1403..d9e93e1b9 100644 --- a/tests/test_security_http_base_optional.py +++ b/tests/test_security_http_base_optional.py @@ -22,7 +22,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_http_basic_optional.py b/tests/test_security_http_basic_optional.py index 2a4686bb3..4b2f433cf 100644 --- a/tests/test_security_http_basic_optional.py +++ b/tests/test_security_http_basic_optional.py @@ -22,7 +22,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_http_basic_realm.py b/tests/test_security_http_basic_realm.py index 6b5b4aeee..9a11ebda9 100644 --- a/tests/test_security_http_basic_realm.py +++ b/tests/test_security_http_basic_realm.py @@ -19,7 +19,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_http_bearer.py b/tests/test_security_http_bearer.py index 6689a5fc6..e8a004cf0 100644 --- a/tests/test_security_http_bearer.py +++ b/tests/test_security_http_bearer.py @@ -16,7 +16,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_http_bearer_optional.py b/tests/test_security_http_bearer_optional.py index 9ddd1246f..b66628469 100644 --- a/tests/test_security_http_bearer_optional.py +++ b/tests/test_security_http_bearer_optional.py @@ -22,7 +22,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_http_digest.py b/tests/test_security_http_digest.py index 8de7dd065..5ffeac92b 100644 --- a/tests/test_security_http_digest.py +++ b/tests/test_security_http_digest.py @@ -16,7 +16,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_http_digest_optional.py b/tests/test_security_http_digest_optional.py index d0af7afa4..21ec872f6 100644 --- a/tests/test_security_http_digest_optional.py +++ b/tests/test_security_http_digest_optional.py @@ -22,7 +22,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_oauth2.py b/tests/test_security_oauth2.py index 233123337..692c49863 100644 --- a/tests/test_security_oauth2.py +++ b/tests/test_security_oauth2.py @@ -43,7 +43,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/login": { "post": { diff --git a/tests/test_security_oauth2_authorization_code_bearer.py b/tests/test_security_oauth2_authorization_code_bearer.py index f39fcd088..8cfc9ac10 100644 --- a/tests/test_security_oauth2_authorization_code_bearer.py +++ b/tests/test_security_oauth2_authorization_code_bearer.py @@ -20,7 +20,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_security_oauth2_optional.py b/tests/test_security_oauth2_optional.py index cc2c5f0fd..648adefb7 100644 --- a/tests/test_security_oauth2_optional.py +++ b/tests/test_security_oauth2_optional.py @@ -47,7 +47,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/login": { "post": { diff --git a/tests/test_security_oauth2_password_bearer_optional.py b/tests/test_security_oauth2_password_bearer_optional.py index bdd69d199..4a702770b 100644 --- a/tests/test_security_oauth2_password_bearer_optional.py +++ b/tests/test_security_oauth2_password_bearer_optional.py @@ -20,7 +20,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_security_openid_connect.py b/tests/test_security_openid_connect.py index 5a26eb575..fc9f50d40 100644 --- a/tests/test_security_openid_connect.py +++ b/tests/test_security_openid_connect.py @@ -26,7 +26,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_security_openid_connect_optional.py b/tests/test_security_openid_connect_optional.py index 76b9c6de1..874aba672 100644 --- a/tests/test_security_openid_connect_optional.py +++ b/tests/test_security_openid_connect_optional.py @@ -32,7 +32,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_starlette_exception.py b/tests/test_starlette_exception.py index bafa31835..6fb458979 100644 --- a/tests/test_starlette_exception.py +++ b/tests/test_starlette_exception.py @@ -29,7 +29,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_sub_callbacks.py b/tests/test_sub_callbacks.py index 5391a665d..b05b532c6 100644 --- a/tests/test_sub_callbacks.py +++ b/tests/test_sub_callbacks.py @@ -62,7 +62,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/invoices/": { "post": { diff --git a/tests/test_tutorial/test_additional_responses/test_tutorial001.py b/tests/test_tutorial/test_additional_responses/test_tutorial001.py index 839bb1d53..dc0cc5963 100644 --- a/tests/test_tutorial/test_additional_responses/test_tutorial001.py +++ b/tests/test_tutorial/test_additional_responses/test_tutorial001.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_additional_responses/test_tutorial002.py b/tests/test_tutorial/test_additional_responses/test_tutorial002.py index 722ef83db..c3e9fe1ba 100644 --- a/tests/test_tutorial/test_additional_responses/test_tutorial002.py +++ b/tests/test_tutorial/test_additional_responses/test_tutorial002.py @@ -9,7 +9,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_additional_responses/test_tutorial003.py b/tests/test_tutorial/test_additional_responses/test_tutorial003.py index 4f270efdc..ba1ba39d3 100644 --- a/tests/test_tutorial/test_additional_responses/test_tutorial003.py +++ b/tests/test_tutorial/test_additional_responses/test_tutorial003.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_additional_responses/test_tutorial004.py b/tests/test_tutorial/test_additional_responses/test_tutorial004.py index 4608799bf..2d24de28e 100644 --- a/tests/test_tutorial/test_additional_responses/test_tutorial004.py +++ b/tests/test_tutorial/test_additional_responses/test_tutorial004.py @@ -9,7 +9,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_async_sql_databases/test_tutorial001.py b/tests/test_tutorial/test_async_sql_databases/test_tutorial001.py index 91a8ba967..088a96b7f 100644 --- a/tests/test_tutorial/test_async_sql_databases/test_tutorial001.py +++ b/tests/test_tutorial/test_async_sql_databases/test_tutorial001.py @@ -4,7 +4,7 @@ from async_sql_databases.tutorial001 import app openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/notes/": { "get": { diff --git a/tests/test_tutorial/test_bigger_applications/test_main.py b/tests/test_tutorial/test_bigger_applications/test_main.py index 794e48e1d..1e5bbeff4 100644 --- a/tests/test_tutorial/test_bigger_applications/test_main.py +++ b/tests/test_tutorial/test_bigger_applications/test_main.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/": { "get": { diff --git a/tests/test_tutorial/test_body/test_tutorial001.py b/tests/test_tutorial/test_body/test_tutorial001.py index 2ae0714e6..078e4febd 100644 --- a/tests/test_tutorial/test_body/test_tutorial001.py +++ b/tests/test_tutorial/test_body/test_tutorial001.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "post": { diff --git a/tests/test_tutorial/test_body_fields/test_tutorial001.py b/tests/test_tutorial/test_body_fields/test_tutorial001.py index b77f75218..8f2c21f28 100644 --- a/tests/test_tutorial/test_body_fields/test_tutorial001.py +++ b/tests/test_tutorial/test_body_fields/test_tutorial001.py @@ -17,7 +17,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "put": { diff --git a/tests/test_tutorial/test_body_multiple_params/test_tutorial001.py b/tests/test_tutorial/test_body_multiple_params/test_tutorial001.py index b7c06dc70..6352e5853 100644 --- a/tests/test_tutorial/test_body_multiple_params/test_tutorial001.py +++ b/tests/test_tutorial/test_body_multiple_params/test_tutorial001.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "put": { diff --git a/tests/test_tutorial/test_body_multiple_params/test_tutorial003.py b/tests/test_tutorial/test_body_multiple_params/test_tutorial003.py index 9141e7f48..54bf193e9 100644 --- a/tests/test_tutorial/test_body_multiple_params/test_tutorial003.py +++ b/tests/test_tutorial/test_body_multiple_params/test_tutorial003.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "put": { diff --git a/tests/test_tutorial/test_body_nested_models/test_tutorial009.py b/tests/test_tutorial/test_body_nested_models/test_tutorial009.py index d51b07252..fa1dd4e94 100644 --- a/tests/test_tutorial/test_body_nested_models/test_tutorial009.py +++ b/tests/test_tutorial/test_body_nested_models/test_tutorial009.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/index-weights/": { "post": { diff --git a/tests/test_tutorial/test_body_updates/test_tutorial001.py b/tests/test_tutorial/test_body_updates/test_tutorial001.py index bfd62e927..1626c280a 100644 --- a/tests/test_tutorial/test_body_updates/test_tutorial001.py +++ b/tests/test_tutorial/test_body_updates/test_tutorial001.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_cookie_params/test_tutorial001.py b/tests/test_tutorial/test_cookie_params/test_tutorial001.py index d6aed3ca7..1dcdb8287 100644 --- a/tests/test_tutorial/test_cookie_params/test_tutorial001.py +++ b/tests/test_tutorial/test_cookie_params/test_tutorial001.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_custom_response/test_tutorial001.py b/tests/test_tutorial/test_custom_response/test_tutorial001.py index 3cab97fdf..0a46d64b4 100644 --- a/tests/test_tutorial/test_custom_response/test_tutorial001.py +++ b/tests/test_tutorial/test_custom_response/test_tutorial001.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_custom_response/test_tutorial004.py b/tests/test_tutorial/test_custom_response/test_tutorial004.py index 8558e4213..03ee004e3 100644 --- a/tests/test_tutorial/test_custom_response/test_tutorial004.py +++ b/tests/test_tutorial/test_custom_response/test_tutorial004.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_dependencies/test_tutorial001.py b/tests/test_tutorial/test_dependencies/test_tutorial001.py index 9c193cd30..15e8f3a51 100644 --- a/tests/test_tutorial/test_dependencies/test_tutorial001.py +++ b/tests/test_tutorial/test_dependencies/test_tutorial001.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_dependencies/test_tutorial004.py b/tests/test_tutorial/test_dependencies/test_tutorial004.py index 434c0504a..c938c2d41 100644 --- a/tests/test_tutorial/test_dependencies/test_tutorial004.py +++ b/tests/test_tutorial/test_dependencies/test_tutorial004.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_dependencies/test_tutorial006.py b/tests/test_tutorial/test_dependencies/test_tutorial006.py index fdc878977..98c49dfc4 100644 --- a/tests/test_tutorial/test_dependencies/test_tutorial006.py +++ b/tests/test_tutorial/test_dependencies/test_tutorial006.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_events/test_tutorial001.py b/tests/test_tutorial/test_events/test_tutorial001.py index bf7cd532b..9ac638b42 100644 --- a/tests/test_tutorial/test_events/test_tutorial001.py +++ b/tests/test_tutorial/test_events/test_tutorial001.py @@ -4,7 +4,7 @@ from events.tutorial001 import app openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_events/test_tutorial002.py b/tests/test_tutorial/test_events/test_tutorial002.py index 496520944..e9daeb64e 100644 --- a/tests/test_tutorial/test_events/test_tutorial002.py +++ b/tests/test_tutorial/test_events/test_tutorial002.py @@ -4,7 +4,7 @@ from events.tutorial002 import app openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_extra_data_types/test_tutorial001.py b/tests/test_tutorial/test_extra_data_types/test_tutorial001.py index 846d3c191..fe3e4a012 100644 --- a/tests/test_tutorial/test_extra_data_types/test_tutorial001.py +++ b/tests/test_tutorial/test_extra_data_types/test_tutorial001.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "put": { diff --git a/tests/test_tutorial/test_extra_models/test_tutorial003.py b/tests/test_tutorial/test_extra_models/test_tutorial003.py index 7b4776d15..3a50f5e8f 100644 --- a/tests/test_tutorial/test_extra_models/test_tutorial003.py +++ b/tests/test_tutorial/test_extra_models/test_tutorial003.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_extra_models/test_tutorial004.py b/tests/test_tutorial/test_extra_models/test_tutorial004.py index 1ee2980c0..22a94e09f 100644 --- a/tests/test_tutorial/test_extra_models/test_tutorial004.py +++ b/tests/test_tutorial/test_extra_models/test_tutorial004.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_extra_models/test_tutorial005.py b/tests/test_tutorial/test_extra_models/test_tutorial005.py index 935debf92..3ba23888a 100644 --- a/tests/test_tutorial/test_extra_models/test_tutorial005.py +++ b/tests/test_tutorial/test_extra_models/test_tutorial005.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/keyword-weights/": { "get": { diff --git a/tests/test_tutorial/test_first_steps/test_tutorial001.py b/tests/test_tutorial/test_first_steps/test_tutorial001.py index 3f89d90d4..c045b2a48 100644 --- a/tests/test_tutorial/test_first_steps/test_tutorial001.py +++ b/tests/test_tutorial/test_first_steps/test_tutorial001.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/": { "get": { diff --git a/tests/test_tutorial/test_handling_errors/test_tutorial001.py b/tests/test_tutorial/test_handling_errors/test_tutorial001.py index 3869cb485..175668e85 100644 --- a/tests/test_tutorial/test_handling_errors/test_tutorial001.py +++ b/tests/test_tutorial/test_handling_errors/test_tutorial001.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_handling_errors/test_tutorial002.py b/tests/test_tutorial/test_handling_errors/test_tutorial002.py index e0aa05a15..d0f9774c0 100644 --- a/tests/test_tutorial/test_handling_errors/test_tutorial002.py +++ b/tests/test_tutorial/test_handling_errors/test_tutorial002.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items-header/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_handling_errors/test_tutorial003.py b/tests/test_tutorial/test_handling_errors/test_tutorial003.py index 0ead07d05..abf8b60b6 100644 --- a/tests/test_tutorial/test_handling_errors/test_tutorial003.py +++ b/tests/test_tutorial/test_handling_errors/test_tutorial003.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/unicorns/{name}": { "get": { diff --git a/tests/test_tutorial/test_handling_errors/test_tutorial004.py b/tests/test_tutorial/test_handling_errors/test_tutorial004.py index 83eb3675c..4061e48bb 100644 --- a/tests/test_tutorial/test_handling_errors/test_tutorial004.py +++ b/tests/test_tutorial/test_handling_errors/test_tutorial004.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_handling_errors/test_tutorial005.py b/tests/test_tutorial/test_handling_errors/test_tutorial005.py index 25b56dd22..511db14a2 100644 --- a/tests/test_tutorial/test_handling_errors/test_tutorial005.py +++ b/tests/test_tutorial/test_handling_errors/test_tutorial005.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "post": { diff --git a/tests/test_tutorial/test_handling_errors/test_tutorial006.py b/tests/test_tutorial/test_handling_errors/test_tutorial006.py index fe6c40104..74f370684 100644 --- a/tests/test_tutorial/test_handling_errors/test_tutorial006.py +++ b/tests/test_tutorial/test_handling_errors/test_tutorial006.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_header_params/test_tutorial001.py b/tests/test_tutorial/test_header_params/test_tutorial001.py index 811ccb352..e38171bde 100644 --- a/tests/test_tutorial/test_header_params/test_tutorial001.py +++ b/tests/test_tutorial/test_header_params/test_tutorial001.py @@ -8,7 +8,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py b/tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py index febbe7479..456974e7c 100644 --- a/tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py +++ b/tests/test_tutorial/test_openapi_callbacks/test_tutorial001.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/invoices/": { "post": { diff --git a/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py b/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py index 574e21b5a..2cf97b14a 100644 --- a/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py +++ b/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py b/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py index 0cd25c21b..e71d78668 100644 --- a/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py +++ b/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial002.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py b/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py index 9ff0adfb9..26e3171d8 100644 --- a/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py +++ b/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial003.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": {}, } diff --git a/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py b/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py index 66065d802..519368dc3 100644 --- a/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py +++ b/tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial004.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "post": { diff --git a/tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py b/tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py index 0cdb74249..f0799138d 100644 --- a/tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py +++ b/tests/test_tutorial/test_path_operation_configurations/test_tutorial005.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "post": { diff --git a/tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py b/tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py index dbf1f8d04..478f78ac0 100644 --- a/tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py +++ b/tests/test_tutorial/test_path_operation_configurations/test_tutorial006.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_path_params/test_tutorial004.py b/tests/test_tutorial/test_path_params/test_tutorial004.py index a131b81ca..0ec4b1747 100644 --- a/tests/test_tutorial/test_path_params/test_tutorial004.py +++ b/tests/test_tutorial/test_path_params/test_tutorial004.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/files/{file_path}": { "get": { diff --git a/tests/test_tutorial/test_path_params/test_tutorial005.py b/tests/test_tutorial/test_path_params/test_tutorial005.py index 91cc6db64..aa2e268ee 100644 --- a/tests/test_tutorial/test_path_params/test_tutorial005.py +++ b/tests/test_tutorial/test_path_params/test_tutorial005.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/model/{model_name}": { "get": { diff --git a/tests/test_tutorial/test_query_params/test_tutorial005.py b/tests/test_tutorial/test_query_params/test_tutorial005.py index e6db1b0f0..f54e9214d 100644 --- a/tests/test_tutorial/test_query_params/test_tutorial005.py +++ b/tests/test_tutorial/test_query_params/test_tutorial005.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_query_params/test_tutorial006.py b/tests/test_tutorial/test_query_params/test_tutorial006.py index edcf50697..fe1615f68 100644 --- a/tests/test_tutorial/test_query_params/test_tutorial006.py +++ b/tests/test_tutorial/test_query_params/test_tutorial006.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_query_params/test_tutorial007.py b/tests/test_tutorial/test_query_params/test_tutorial007.py index f66791a50..b8cc9bc69 100644 --- a/tests/test_tutorial/test_query_params/test_tutorial007.py +++ b/tests/test_tutorial/test_query_params/test_tutorial007.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_query_params_str_validations/test_tutorial001.py b/tests/test_tutorial/test_query_params_str_validations/test_tutorial001.py index 875c6efd6..62b8304bb 100644 --- a/tests/test_tutorial/test_query_params_str_validations/test_tutorial001.py +++ b/tests/test_tutorial/test_query_params_str_validations/test_tutorial001.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py b/tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py index b443a7004..9d86fa3d9 100644 --- a/tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py +++ b/tests/test_tutorial/test_query_params_str_validations/test_tutorial011.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py b/tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py index 1e00c5017..005977c46 100644 --- a/tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py +++ b/tests/test_tutorial/test_query_params_str_validations/test_tutorial012.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py b/tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py index 6606e66b1..d3d037a6b 100644 --- a/tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py +++ b/tests/test_tutorial/test_query_params_str_validations/test_tutorial013.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_request_files/test_tutorial001.py b/tests/test_tutorial/test_request_files/test_tutorial001.py index b5f64af95..5db608efa 100644 --- a/tests/test_tutorial/test_request_files/test_tutorial001.py +++ b/tests/test_tutorial/test_request_files/test_tutorial001.py @@ -8,7 +8,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/files/": { "post": { diff --git a/tests/test_tutorial/test_request_files/test_tutorial002.py b/tests/test_tutorial/test_request_files/test_tutorial002.py index 092b9901c..bb715d170 100644 --- a/tests/test_tutorial/test_request_files/test_tutorial002.py +++ b/tests/test_tutorial/test_request_files/test_tutorial002.py @@ -8,7 +8,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/files/": { "post": { diff --git a/tests/test_tutorial/test_request_forms/test_tutorial001.py b/tests/test_tutorial/test_request_forms/test_tutorial001.py index 46c926767..74b4210fd 100644 --- a/tests/test_tutorial/test_request_forms/test_tutorial001.py +++ b/tests/test_tutorial/test_request_forms/test_tutorial001.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/login/": { "post": { diff --git a/tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py b/tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py index a30fbf60f..bee862bd0 100644 --- a/tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py +++ b/tests/test_tutorial/test_request_forms_and_files/test_tutorial001.py @@ -9,7 +9,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/files/": { "post": { diff --git a/tests/test_tutorial/test_response_model/test_tutorial003.py b/tests/test_tutorial/test_response_model/test_tutorial003.py index 9cf315825..74e2a528b 100644 --- a/tests/test_tutorial/test_response_model/test_tutorial003.py +++ b/tests/test_tutorial/test_response_model/test_tutorial003.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/user/": { "post": { diff --git a/tests/test_tutorial/test_response_model/test_tutorial004.py b/tests/test_tutorial/test_response_model/test_tutorial004.py index 3b71420b6..deacc2c01 100644 --- a/tests/test_tutorial/test_response_model/test_tutorial004.py +++ b/tests/test_tutorial/test_response_model/test_tutorial004.py @@ -7,7 +7,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}": { "get": { diff --git a/tests/test_tutorial/test_response_model/test_tutorial005.py b/tests/test_tutorial/test_response_model/test_tutorial005.py index d0efe22b9..37fb1d64c 100644 --- a/tests/test_tutorial/test_response_model/test_tutorial005.py +++ b/tests/test_tutorial/test_response_model/test_tutorial005.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}/name": { "get": { diff --git a/tests/test_tutorial/test_response_model/test_tutorial006.py b/tests/test_tutorial/test_response_model/test_tutorial006.py index 232ce0f79..c1f74ddce 100644 --- a/tests/test_tutorial/test_response_model/test_tutorial006.py +++ b/tests/test_tutorial/test_response_model/test_tutorial006.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/{item_id}/name": { "get": { diff --git a/tests/test_tutorial/test_security/test_tutorial001.py b/tests/test_tutorial/test_security/test_tutorial001.py index 295e600cf..5e3f60b42 100644 --- a/tests/test_tutorial/test_security/test_tutorial001.py +++ b/tests/test_tutorial/test_security/test_tutorial001.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "get": { diff --git a/tests/test_tutorial/test_security/test_tutorial003.py b/tests/test_tutorial/test_security/test_tutorial003.py index 82b2d959d..5ab017705 100644 --- a/tests/test_tutorial/test_security/test_tutorial003.py +++ b/tests/test_tutorial/test_security/test_tutorial003.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/token": { "post": { diff --git a/tests/test_tutorial/test_security/test_tutorial005.py b/tests/test_tutorial/test_security/test_tutorial005.py index a3f8a9ffd..b4d345555 100644 --- a/tests/test_tutorial/test_security/test_tutorial005.py +++ b/tests/test_tutorial/test_security/test_tutorial005.py @@ -12,7 +12,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/token": { "post": { diff --git a/tests/test_tutorial/test_security/test_tutorial006.py b/tests/test_tutorial/test_security/test_tutorial006.py index 9dc753202..a0b5a5f05 100644 --- a/tests/test_tutorial/test_security/test_tutorial006.py +++ b/tests/test_tutorial/test_security/test_tutorial006.py @@ -9,7 +9,7 @@ client = TestClient(app) openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/me": { "get": { diff --git a/tests/test_tutorial/test_sql_databases/test_sql_databases.py b/tests/test_tutorial/test_sql_databases/test_sql_databases.py index e4adc1f73..6c9a4cb5e 100644 --- a/tests/test_tutorial/test_sql_databases/test_sql_databases.py +++ b/tests/test_tutorial/test_sql_databases/test_sql_databases.py @@ -5,7 +5,7 @@ from starlette.testclient import TestClient openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/": { "get": { diff --git a/tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py b/tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py index c056e1800..313b139e9 100644 --- a/tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py +++ b/tests/test_tutorial/test_sql_databases/test_sql_databases_middleware.py @@ -5,7 +5,7 @@ from starlette.testclient import TestClient openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/": { "get": { diff --git a/tests/test_tutorial/test_sql_databases_peewee/test_sql_databases_peewee.py b/tests/test_tutorial/test_sql_databases_peewee/test_sql_databases_peewee.py index 796bb91f3..2f1830ac0 100644 --- a/tests/test_tutorial/test_sql_databases_peewee/test_sql_databases_peewee.py +++ b/tests/test_tutorial/test_sql_databases_peewee/test_sql_databases_peewee.py @@ -9,7 +9,7 @@ from ...utils import skip_py36 openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/users/": { "get": { diff --git a/tests/test_tutorial/test_sub_applications/test_tutorial001.py b/tests/test_tutorial/test_sub_applications/test_tutorial001.py index 3663770fe..a7158bb17 100644 --- a/tests/test_tutorial/test_sub_applications/test_tutorial001.py +++ b/tests/test_tutorial/test_sub_applications/test_tutorial001.py @@ -6,7 +6,7 @@ client = TestClient(app) openapi_schema_main = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/app": { "get": { @@ -24,7 +24,7 @@ openapi_schema_main = { } openapi_schema_sub = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/subapi/sub": { "get": { diff --git a/tests/test_tutorial/test_testing/test_main.py b/tests/test_tutorial/test_testing/test_main.py index 9e234d796..36e8069a5 100644 --- a/tests/test_tutorial/test_testing/test_main.py +++ b/tests/test_tutorial/test_testing/test_main.py @@ -2,7 +2,7 @@ from app_testing.test_main import client, test_read_main openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/": { "get": { diff --git a/tests/test_tutorial/test_testing/test_tutorial001.py b/tests/test_tutorial/test_testing/test_tutorial001.py index 1414cfddd..adc6928c6 100644 --- a/tests/test_tutorial/test_testing/test_tutorial001.py +++ b/tests/test_tutorial/test_testing/test_tutorial001.py @@ -2,7 +2,7 @@ from app_testing.tutorial001 import client, test_read_main openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/": { "get": { diff --git a/tests/test_union_body.py b/tests/test_union_body.py index b7b8b38b2..0caaa4f47 100644 --- a/tests/test_union_body.py +++ b/tests/test_union_body.py @@ -24,7 +24,7 @@ client = TestClient(app) item_openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "post": { diff --git a/tests/test_union_inherited_body.py b/tests/test_union_inherited_body.py index c1557c9d6..60ab8d0cd 100644 --- a/tests/test_union_inherited_body.py +++ b/tests/test_union_inherited_body.py @@ -33,7 +33,7 @@ client = TestClient(app) inherited_item_openapi_schema = { "openapi": "3.0.2", - "info": {"title": "Fast API", "version": "0.1.0"}, + "info": {"title": "FastAPI", "version": "0.1.0"}, "paths": { "/items/": { "post": {