]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
✏ Fix 2 typos in docs (#1324)
authorXie Wei <39515546+waynerv@users.noreply.github.com>
Sun, 17 May 2020 10:56:57 +0000 (18:56 +0800)
committerGitHub <noreply@github.com>
Sun, 17 May 2020 10:56:57 +0000 (12:56 +0200)
docs/en/docs/features.md
docs/en/docs/tutorial/first-steps.md

index 8b5bb51f171ea6d6e5341d468925b0ac0c4e16c5..0e6daad1c7a0f032df320c8e5d3a40d3fb13cfd7 100644 (file)
@@ -71,7 +71,7 @@ my_second_user: User = User(**second_user_data)
 
 ### Editor support
 
-All the framework was designed to be easy and intuitive to use, all the decisions where tested on multiple editors even before starting development, to ensure the best development experience.
+All the framework was designed to be easy and intuitive to use, all the decisions were tested on multiple editors even before starting development, to ensure the best development experience.
 
 In the last Python developer survey it was clear <a href="https://www.jetbrains.com/research/python-developers-survey-2017/#tools-and-features" class="external-link" target="_blank">that the most used feature is "autocompletion"</a>.
 
index 2d212762ed8db3f344f81b3d943f45df14ce1a44..11a9d16e09129101b890e45793c9a36021a32440 100644 (file)
@@ -239,7 +239,7 @@ So, in OpenAPI, each of the HTTP methods is called an "operation".
 
 We are going to call them "**operations**" too.
 
-#### Define a *path operation function*
+#### Define a *path operation decorator*
 
 ```Python hl_lines="6"
 {!../../../docs_src/first_steps/tutorial001.py!}