Hotah Ma
2 days ago
committed by
GitHub
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
11 changed files with
12 additions and
23 deletions
-
docs/de/docs/tutorial/path-params.md
-
docs/de/docs/tutorial/query-params.md
-
docs/en/docs/tutorial/path-params.md
-
docs/en/docs/tutorial/query-params.md
-
docs/es/docs/tutorial/path-params.md
-
docs/es/docs/tutorial/query-params.md
-
docs/id/docs/tutorial/path-params.md
-
docs/tr/docs/tutorial/path-params.md
-
docs/tr/docs/tutorial/query-params.md
-
docs/uk/docs/tutorial/path-params.md
-
docs/uk/docs/tutorial/query-params.md
|
|
@ -56,8 +56,7 @@ Wenn Sie aber im Browser <a href="http://127.0.0.1:8000/items/foo" class="extern |
|
|
|
"item_id" |
|
|
|
], |
|
|
|
"msg": "Input should be a valid integer, unable to parse string as an integer", |
|
|
|
"input": "foo", |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/int_parsing" |
|
|
|
"input": "foo" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
@ -149,8 +149,7 @@ http://127.0.0.1:8000/items/foo-item |
|
|
|
"needy" |
|
|
|
], |
|
|
|
"msg": "Field required", |
|
|
|
"input": null, |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/missing" |
|
|
|
"input": null |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
@ -56,8 +56,7 @@ But if you go to the browser at <a href="http://127.0.0.1:8000/items/foo" class= |
|
|
|
"item_id" |
|
|
|
], |
|
|
|
"msg": "Input should be a valid integer, unable to parse string as an integer", |
|
|
|
"input": "foo", |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/int_parsing" |
|
|
|
"input": "foo" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
@ -238,7 +237,7 @@ So, you can use it with: |
|
|
|
|
|
|
|
/// tip |
|
|
|
|
|
|
|
You could need the parameter to contain `/home/johndoe/myfile.txt`, with a leading slash (`/`). |
|
|
|
You might need the parameter to contain `/home/johndoe/myfile.txt`, with a leading slash (`/`). |
|
|
|
|
|
|
|
In that case, the URL would be: `/files//home/johndoe/myfile.txt`, with a double slash (`//`) between `files` and `home`. |
|
|
|
|
|
|
|
|
|
@ -150,8 +150,7 @@ http://127.0.0.1:8000/items/foo-item |
|
|
|
"needy" |
|
|
|
], |
|
|
|
"msg": "Field required", |
|
|
|
"input": null, |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/missing" |
|
|
|
"input": null |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
@ -56,8 +56,7 @@ Pero si vas al navegador en <a href="http://127.0.0.1:8000/items/foo" class="ext |
|
|
|
"item_id" |
|
|
|
], |
|
|
|
"msg": "Input should be a valid integer, unable to parse string as an integer", |
|
|
|
"input": "foo", |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/int_parsing" |
|
|
|
"input": "foo" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
@ -147,8 +147,7 @@ http://127.0.0.1:8000/items/foo-item |
|
|
|
"needy" |
|
|
|
], |
|
|
|
"msg": "Field required", |
|
|
|
"input": null, |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/missing" |
|
|
|
"input": null |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
@ -56,8 +56,7 @@ Tetapi jika di browser anda akses <a href="http://127.0.0.1:8000/items/foo" clas |
|
|
|
"item_id" |
|
|
|
], |
|
|
|
"msg": "Input should be a valid integer, unable to parse string as an integer", |
|
|
|
"input": "foo", |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/int_parsing" |
|
|
|
"input": "foo" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
@ -56,8 +56,7 @@ Eğer tarayıcınızda <a href="http://127.0.0.1:8000/items/foo" class="external |
|
|
|
"item_id" |
|
|
|
], |
|
|
|
"msg": "Input should be a valid integer, unable to parse string as an integer", |
|
|
|
"input": "foo", |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/int_parsing" |
|
|
|
"input": "foo" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
@ -150,8 +150,7 @@ http://127.0.0.1:8000/items/foo-item |
|
|
|
"needy" |
|
|
|
], |
|
|
|
"msg": "Field required", |
|
|
|
"input": null, |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/missing" |
|
|
|
"input": null |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
@ -56,8 +56,7 @@ |
|
|
|
"item_id" |
|
|
|
], |
|
|
|
"msg": "Input should be a valid integer, unable to parse string as an integer", |
|
|
|
"input": "foo", |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/int_parsing" |
|
|
|
"input": "foo" |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|
|
|
@ -151,8 +151,7 @@ http://127.0.0.1:8000/items/foo-item |
|
|
|
"needy" |
|
|
|
], |
|
|
|
"msg": "Field required", |
|
|
|
"input": null, |
|
|
|
"url": "https://errors.pydantic.dev/2.1/v/missing" |
|
|
|
"input": null |
|
|
|
} |
|
|
|
] |
|
|
|
} |
|
|
|