]> git.ipfire.org Git - thirdparty/fastapi/fastapi.git/commitdiff
:memo: Highlight all new lines in docs example upgrade (#795)
authorChristoph Deil <Deil.Christoph@gmail.com>
Wed, 8 Jan 2020 21:34:14 +0000 (22:34 +0100)
committerSebastián Ramírez <tiangolo@gmail.com>
Wed, 8 Jan 2020 21:34:14 +0000 (22:34 +0100)
README.md
docs/index.md

index 702cbdef7be4e2846fdf85e4ebe0d7180cb370db..4f73c0f71466fd09127a31aabbf240955f00afd2 100644 (file)
--- a/README.md
+++ b/README.md
@@ -206,8 +206,7 @@ Now modify the file `main.py` to receive a body from a `PUT` request.
 
 Declare the body using standard Python types, thanks to Pydantic.
 
-
-```Python hl_lines="2 7 8 9 10 24"
+```Python hl_lines="2  7 8 9 10  23 24 25"
 from fastapi import FastAPI
 from pydantic import BaseModel
 
index 702cbdef7be4e2846fdf85e4ebe0d7180cb370db..4f73c0f71466fd09127a31aabbf240955f00afd2 100644 (file)
@@ -206,8 +206,7 @@ Now modify the file `main.py` to receive a body from a `PUT` request.
 
 Declare the body using standard Python types, thanks to Pydantic.
 
-
-```Python hl_lines="2 7 8 9 10 24"
+```Python hl_lines="2  7 8 9 10  23 24 25"
 from fastapi import FastAPI
 from pydantic import BaseModel