- Sort Score
- Num 10 results
- Language All
Results 1271 - 1280 of 1,923 for json$ (0.05 seconds)
-
docs/de/docs/tutorial/body-nested-models.md
Es wird getestet, ob der String eine gültige URL ist, und als solche wird er in JSON Schema / OpenAPI dokumentiert. ## Attribute mit Listen von Kindmodellen { #attributes-with-lists-of-submodels } Sie können Pydantic-Modelle auch als Typen innerhalb von `list`, `set`, usw. verwenden: {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *} Das wird einen JSON-Body erwarten (konvertieren, validieren, dokumentieren, usw.) wie:Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:58:09 GMT 2026 - 7.5K bytes - Click Count (0) -
tests/test_request_params/test_query/test_list.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 11.2K bytes - Click Count (0) -
docs/tr/docs/tutorial/body-nested-models.md
String’in geçerli bir URL olup olmadığı kontrol edilir ve JSON Schema / OpenAPI’de de buna göre dokümante edilir. ## Alt modellerden oluşan list’lere sahip attribute’lar { #attributes-with-lists-of-submodels } Pydantic modellerini `list`, `set` vb. tiplerin alt tipi olarak da kullanabilirsiniz: {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *} Bu, aşağıdaki gibi bir JSON body bekler (dönüştürür, doğrular, dokümante eder vb.):Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 7.5K bytes - Click Count (0) -
docs/tr/docs/advanced/response-directly.md
Bunun yerine, response model'i (veya dönüş tipini) kullanarak Pydantic ile üretilen JSON baytlarını alır ve doğrudan JSON için doğru medya tipiyle (`application/json`) bir `Response` döndürür. ## Notlar { #notes } Bir `Response`'u doğrudan döndürdüğünüzde, verisi otomatik olarak validate edilmez, dönüştürülmez (serialize edilmez) veya dokümante edilmez.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 4.6K bytes - Click Count (0) -
docs/fr/docs/tutorial/body-nested-models.md
## Attributs avec des listes de sous-modèles { #attributes-with-lists-of-submodels } Vous pouvez également utiliser des modèles Pydantic comme sous-types de `list`, `set`, etc. : {* ../../docs_src/body_nested_models/tutorial006_py310.py hl[18] *} Cela attendra (convertira, validera, documentera, etc.) un corps JSON comme : ```JSON hl_lines="11" {Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 18:37:13 GMT 2026 - 7.8K bytes - Click Count (0) -
docs/ru/docs/advanced/path-operation-advanced-configuration.md
И вы можете сделать это, даже если тип данных в HTTP-запросе — не JSON. Например, в этом приложении мы не используем встроенную функциональность FastAPI для извлечения JSON Schema из моделей Pydantic, равно как и автоматическую валидацию JSON. Мы объявляем тип содержимого HTTP-запроса как YAML, а не JSON: {* ../../docs_src/path_operation_advanced_configuration/tutorial007_py310.py hl[15:20, 22] *}Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 10.6K bytes - Click Count (0) -
tests/test_repeated_dependency_schema.py
assert response.status_code == status.HTTP_200_OK assert response.json() == {"dep1": "hello", "dep2": "hello123"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == status.HTTP_200_OK actual_schema = response.json() assert ( len(actual_schema["paths"]["/"]["get"]["parameters"]) == 1 ) # primary goal of this testCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 4K bytes - Click Count (0) -
docs/ru/docs/features.md
* Автоматическая документация моделей данных с помощью [**JSON Schema**](https://json-schema.org/) (так как сама спецификация OpenAPI основана на JSON Schema). * Разработан вокруг этих стандартов, после тщательного их изучения. Это не дополнительная надстройка поверх.
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 15.5K bytes - Click Count (0) -
tests/test_dependency_after_yield_raise.py
response = client.get("/broken") assert response.status_code == 200 assert response.json() == {"message": "all good?"} def test_broken_return_finishes(): client = TestClient(app, raise_server_exceptions=False) response = client.get("/broken") assert response.status_code == 200
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 17 21:25:59 GMT 2025 - 1.7K bytes - Click Count (0) -
tests/test_request_params/test_cookie/test_required_str.py
["/required-str", "/model-required-str"], ) def test_required_str_missing(path: str): client = TestClient(app) response = client.get(path) assert response.status_code == 422 assert response.json() == { "detail": [ { "type": "missing", "loc": ["cookie", "p"], "msg": "Field required", "input": IsOneOf(None, {}), }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Feb 08 10:18:38 GMT 2026 - 10.4K bytes - Click Count (0)