- Sort Score
- Num 10 results
- Language All
Results 971 - 980 of 1,447 for description (0.07 seconds)
-
docs/uk/docs/how-to/separate-openapi-schemas.md
{* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *} …тоді поле `description` не буде обов'язковим, адже воно має значення за замовчуванням `None`. ### Модель для введення в документації { #input-model-in-docs } У документації ви побачите, що поле `description` не має **червоної зірочки** - воно не позначене як обов'язкове: <div class="screenshot">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:43:14 GMT 2026 - 6.7K bytes - Click Count (0) -
tests/test_tutorial/test_body/test_tutorial001.py
"name": "Foo", "price": 50.5, "description": None, "tax": None, } def test_post_with_str_float(client: TestClient): response = client.post("/items/", json={"name": "Foo", "price": "50.5"}) assert response.status_code == 200 assert response.json() == { "name": "Foo", "price": 50.5, "description": None, "tax": None, }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Mon Feb 23 17:45:20 GMT 2026 - 11.1K bytes - Click Count (0) -
docs_src/behind_a_proxy/tutorial004_py310.py
from fastapi import FastAPI, Request app = FastAPI( servers=[ {"url": "https://stag.example.com", "description": "Staging environment"}, {"url": "https://prod.example.com", "description": "Production environment"}, ], root_path="/api/v1", root_path_in_servers=False, ) @app.get("/app") def read_main(request: Request):
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 437 bytes - Click Count (0) -
tests/test_tutorial/test_body_multiple_params/test_tutorial005.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 8.9K bytes - Click Count (0) -
docs/de/docs/how-to/separate-openapi-schemas.md
{* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *} ... dann ist das Feld `description` **nicht erforderlich**. Weil es den Defaultwert `None` hat. ### Eingabemodell in der Dokumentation { #input-model-in-docs } Sie können überprüfen, dass das Feld `description` in der Dokumentation kein **rotes Sternchen** enthält, es ist nicht als erforderlich markiert: <div class="screenshot">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Wed Dec 24 10:28:19 GMT 2025 - 5.2K bytes - Click Count (0) -
docs/ru/docs/how-to/separate-openapi-schemas.md
{* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *} …то поле `description` **не будет обязательным**, потому что у него значение по умолчанию `None`. ### Входная модель в документации { #input-model-in-docs } В документации это видно: у поля `description` нет **красной звёздочки** — оно не отмечено как обязательное: <div class="screenshot">Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Jan 20 23:03:07 GMT 2026 - 6.9K bytes - Click Count (0) -
docs/tr/docs/tutorial/path-operation-configuration.md
{* ../../docs_src/path_operation_configuration/tutorial002b_py310.py hl[1,8:10,13,18] *} ## Özet ve açıklama { #summary-and-description } Bir `summary` ve `description` ekleyebilirsiniz: {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[17:18] *} ## Docstring’den Açıklama { #description-from-docstring }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 07:53:17 GMT 2026 - 4.3K bytes - Click Count (0) -
docs/ru/docs/tutorial/path-operation-configuration.md
## Краткое и развёрнутое содержание { #summary-and-description } Вы можете добавить параметры `summary` и `description`: {* ../../docs_src/path_operation_configuration/tutorial003_py310.py hl[17:18] *} ## Описание из строк документации { #description-from-docstring }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 19 17:56:20 GMT 2026 - 6.4K bytes - Click Count (0) -
docs/de/docs/tutorial/body-multiple-params.md
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 07:57:30 GMT 2026 - 5.4K bytes - Click Count (0) -
docs_src/extending_openapi/tutorial001_py310.py
return app.openapi_schema openapi_schema = get_openapi( title="Custom title", version="2.5.0", summary="This is a very custom OpenAPI schema", description="Here's a longer description of the custom **OpenAPI** schema", routes=app.routes, ) openapi_schema["info"]["x-logo"] = { "url": "https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png" }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Feb 12 13:19:43 GMT 2026 - 737 bytes - Click Count (0)