]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
🎨 Format OpenAPI JSON in `test_starlette_exception.py` (#5379)
authorIrfanuddin Shafi Ahmed <irfanudeen08@gmail.com>
Thu, 3 Nov 2022 20:06:00 +0000 (01:36 +0530)
committerGitHub <noreply@github.com>
Thu, 3 Nov 2022 20:06:00 +0000 (21:06 +0100)
tests/test_starlette_exception.py

index 2b6712f7b6c5875ff853cabd7ad489084b407007..418ddff7ddf80cadbffa05c176be496b26b358fc 100644 (file)
@@ -47,10 +47,10 @@ openapi_schema = {
                 "responses": {
                     "200": {
                         "content": {"application/json": {"schema": {}}},
-                        "description": "Successful " "Response",
+                        "description": "Successful Response",
                     }
                 },
-                "summary": "No Body " "Status " "Code " "Exception",
+                "summary": "No Body Status Code Exception",
             }
         },
         "/http-no-body-statuscode-with-detail-exception": {
@@ -59,7 +59,7 @@ openapi_schema = {
                 "responses": {
                     "200": {
                         "content": {"application/json": {"schema": {}}},
-                        "description": "Successful " "Response",
+                        "description": "Successful Response",
                     }
                 },
                 "summary": "No Body Status Code With Detail Exception",