- Sort Score
- Num 10 results
- Language All
Results 21 - 30 of 1,260 for Description (0.09 seconds)
-
docs/zh-hant/docs/how-to/separate-openapi-schemas.md
在 OpenAPI 中,描述這種情況的方式是將該欄位標記為必填,因為它一定存在。 因此,同一個模型的 JSON Schema 會依用於輸入或輸出而不同: - 用於輸入時,`description` 不是必填 - 用於輸出時,`description` 是必填(且可能為 `None`,在 JSON 中為 `null`) ### 文件中的輸出模型 { #model-for-output-in-docs } 你也可以在文件中檢視輸出模型,`name` 與 `description` 都以紅色星號標示為必填: <div class="screenshot"> <img src="/img/tutorial/separate-openapi-schemas/image03.png"> </div>Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 14 08:15:26 GMT 2026 - 4.1K bytes - Click Count (0) -
internal/logger/help.go
Description: "Number of events per HTTP send to webhook target", Optional: true, Type: "number", }, config.HelpKV{ Key: QueueSize, Description: "configure channel queue size for webhook targets", Optional: true, Type: "number", }, config.HelpKV{ Key: QueueDir, Description: `staging dir for undelivered logger messages e.g. '/home/logger-events'`, Optional: true,
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Wed Sep 11 22:20:42 GMT 2024 - 7.4K bytes - Click Count (0) -
compat/maven-compat/src/main/mdo/paramdoc.mdo
Created: Sun Apr 05 03:35:12 GMT 2026 - Last Modified: Fri Oct 25 12:31:46 GMT 2024 - 5.4K bytes - Click Count (0) -
internal/config/lambda/help.go
Key: config.Comment, Description: config.DefaultComment, Optional: true, Type: "sentence", }, config.HelpKV{ Key: target.WebhookClientCert, Description: "client cert for Webhook mTLS auth", Optional: true, Type: "string", Sensitive: true, }, config.HelpKV{ Key: target.WebhookClientKey, Description: "client cert key for Webhook mTLS auth",
Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Fri Jun 23 14:45:27 GMT 2023 - 1.9K bytes - Click Count (0) -
internal/config/browser/help.go
} Help = config.HelpKVS{ config.HelpKV{ Key: browserCSPPolicy, Description: `set Content-Security-Policy response header value` + defaultHelpPostfix(browserCSPPolicy), Optional: true, Type: "string", }, config.HelpKV{ Key: browserHSTSSeconds, Description: `set Strict-Transport-Security 'max-age' amount of seconds value` + defaultHelpPostfix(browserHSTSSeconds),Created: Sun Apr 05 19:28:12 GMT 2026 - Last Modified: Mon Jan 01 16:36:33 GMT 2024 - 2.1K bytes - Click Count (0) -
docs_src/response_model/tutorial006_py310.py
app = FastAPI() class Item(BaseModel): name: str description: str | None = None price: float tax: float = 10.5 items = { "foo": {"name": "Foo", "price": 50.2}, "bar": {"name": "Bar", "description": "The Bar fighters", "price": 62, "tax": 20.2}, "baz": { "name": "Baz", "description": "There goes my baz", "price": 50.2, "tax": 10.5, }, }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 816 bytes - Click Count (0) -
docs/zh/docs/how-to/separate-openapi-schemas.md
### 输入用的模型 { #model-for-input } 如果你像下面这样把该模型用作输入: {* ../../docs_src/separate_openapi_schemas/tutorial001_py310.py ln[1:15] hl[14] *} ...那么 `description` 字段将**不是必填项**,因为它的默认值是 `None`。 ### 文档中的输入模型 { #input-model-in-docs } 你可以在文档中确认,`description` 字段没有**红色星号**,也就是未被标记为必填: <div class="screenshot"> <img src="/img/tutorial/separate-openapi-schemas/image01.png"> </div> ### 输出用的模型 { #model-for-output }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 13 13:37:57 GMT 2026 - 4.3K bytes - Click Count (0) -
docs_src/stream_json_lines/tutorial001_py310.py
from pydantic import BaseModel app = FastAPI() class Item(BaseModel): name: str description: str | None items = [ Item(name="Plumbus", description="A multi-purpose household device."), Item(name="Portal Gun", description="A portal opening device."), Item(name="Meeseeks Box", description="A box that summons a Meeseeks."), ] @app.get("/items/stream")
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Feb 27 18:56:47 GMT 2026 - 936 bytes - Click Count (0) -
.github/ISSUE_TEMPLATE/10_contributor_bug_report.yml
- type: textarea id: current-behavior attributes: label: Current Behavior description: Tell us what happens validations: required: true - type: textarea id: expected-behavior attributes: label: Expected Behavior description: Tell us what should happen validations: required: true - type: textarea id: context attributes:Created: Wed Apr 01 11:36:16 GMT 2026 - Last Modified: Mon Sep 09 14:48:49 GMT 2024 - 3K bytes - Click Count (1) -
tests/test_sub_callbacks.py
"title": "InvoiceEvent", "required": ["description", "paid"], "type": "object", "properties": { "description": { "title": "Description", "type": "string", },
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 14.3K bytes - Click Count (0)