- Sort Score
- Num 10 results
- Language All
Results 1 - 10 of 1,210 for Examples (0.45 seconds)
-
docs/en/docs/tutorial/schema-extra-example.md
## `examples` in JSON Schema - OpenAPI { #examples-in-json-schema-openapi } When using any of: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()` you can also declare a group of `examples` with additional information that will be added to their **JSON Schemas** inside of **OpenAPI**. ### `Body` with `examples` { #body-with-examples }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 8.7K bytes - Click Count (0) -
docs/ja/docs/tutorial/schema-extra-example.md
もちろん、複数の`examples`を渡すこともできます: {* ../../docs_src/schema_extra_example/tutorial004_an_py310.py hl[23:38] *} この場合、examplesはそのボディデータの内部**JSON Schema**の一部になります。 それでも、<dfn title="2023-08-26">執筆時点</dfn>では、ドキュメントUIの表示を担当するツールであるSwagger UIは、**JSON Schema**内のデータに対して複数の例を表示することをサポートしていません。しかし、回避策については以下を読んでください。 ### OpenAPI固有の`examples` { #openapi-specific-examples }Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 14:07:17 GMT 2026 - 10.5K bytes - Click Count (0) -
tests/test_schema_extra_examples.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 34.7K bytes - Click Count (0) -
fastapi/params.py
json_schema_extra: dict[str, Any] | None = None, **extra: Any, ): if example is not _Unset: warnings.warn( "`example` has been deprecated, please use `examples` instead", category=FastAPIDeprecationWarning, stacklevel=4, ) self.example = example self.include_in_schema = include_in_schema self.openapi_examples = openapi_examples
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.7K bytes - Click Count (0) -
docs/zh-hant/docs/tutorial/schema-extra-example.md
### OpenAPI 特定的 `examples` { #openapi-specific-examples } 在 **JSON Schema** 支援 `examples` 之前,OpenAPI 就已支援另一個同名的欄位 `examples`。 這個「OpenAPI 特定」的 `examples` 位於 OpenAPI 規範的另一個區塊:在每個「路徑操作」的詳細資訊中,而不是在各個 JSON Schema 內。 而 Swagger UI 早已支援這個欄位,因此你可以用它在文件 UI 中顯示不同的範例。 這個 OpenAPI 特定欄位 `examples` 的結構是一個包含「多個範例」的 `dict`(而非 `list`),每個範例都可包含會一併加入到 **OpenAPI** 的額外資訊。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:05:38 GMT 2026 - 8.4K bytes - Click Count (0) -
tests/test_openapi_examples.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 16.4K bytes - Click Count (0) -
fastapi/param_functions.py
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 68K bytes - Click Count (0) -
docs/zh/docs/tutorial/schema-extra-example.md
### OpenAPI 特定的 `examples` { #openapi-specific-examples } 在 JSON Schema 支持 `examples` 之前,OpenAPI 就已支持一个同名但不同的字段 `examples`。 这个面向 OpenAPI 的 `examples` 位于 OpenAPI 规范的另一处。它放在每个路径操作的详细信息中,而不是每个 JSON Schema 里。 而 Swagger UI 早就支持这个特定的 `examples` 字段。因此,你可以用它在文档 UI 中展示不同的示例。 这个 OpenAPI 特定字段 `examples` 的结构是一个包含多个示例的 `dict`(而不是一个 `list`),每个示例都包含会被添加到 OpenAPI 的额外信息。Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Mar 20 17:06:37 GMT 2026 - 8.5K bytes - Click Count (0) -
docs/en/docs/deployment/concepts.md
### Example Tools to Run at Startup { #example-tools-to-run-at-startup } Some examples of the tools that can do this job are: * Docker * Kubernetes * Docker Compose * Docker in Swarm Mode * Systemd * SupervisorCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 18.5K bytes - Click Count (1) -
src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java
* flags is necessary to distinguish which type of Named Pipe behavior * is desired. * * <table border="1"> * <caption>SmbNamedPipe Constructor Examples</caption> * <tr> * <td colspan="2"><b><code>SmbNamedPipe</code> Constructor Examples</b></td> * <tr><td ><b>Code Sample</b></td><td><b>Description</b></td></tr> * <tr><td ><pre> * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo",
Created: Sun Apr 05 00:10:12 GMT 2026 - Last Modified: Sat Aug 16 01:32:48 GMT 2025 - 8.5K bytes - Click Count (0)