- Sort Score
- Result 10 results
- Languages All
Results 1 - 7 of 7 for Nath (0.16 sec)
-
docs/pt/docs/tutorial/schema-extra-example.md
Lembre-se de que esses argumentos extras passados não adicionarão nenhuma validação, apenas informações extras, para fins de documentação. ## `example` e `examples` no OpenAPI Ao usar quaisquer dos: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()` você também pode declarar um dado `example` ou um grupo de `examples` com informações adicionais que serão adicionadas ao **OpenAPI**.
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 6.1K bytes - Viewed (0) -
docs/ja/docs/tutorial/schema-extra-example.md
その追加情報はそのまま出力され、JSON Schemaに追加されます。 ## `Field`の追加引数 後述する`Field`、`Path`、`Query`、`Body`などでは、任意の引数を関数に渡すことでJSON Schemaの追加情報を宣言することもできます: ```Python hl_lines="4 10 11 12 13" {!../../../docs_src/schema_extra_example/tutorial002.py!} ``` !!! warning "注意" これらの追加引数が渡されても、文書化のためのバリデーションは追加されず、注釈だけが追加されることを覚えておいてください。 ## `Body`の追加引数 追加情報を`Field`に渡すのと同じように、`Path`、`Query`、`Body`などでも同じことができます。 例えば、`Body`にボディリクエストの`example`を渡すことができます:
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3K bytes - Viewed (0) -
docs/ru/docs/tutorial/schema-extra-example.md
## Использование `example` и `examples` в OpenAPI При использовании любой из этих функций: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 11.6K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
This doesn't go inside of each JSON Schema contained in OpenAPI, this goes outside, in the *path operation* directly. ### Using the `openapi_examples` Parameter You can declare the OpenAPI-specific `examples` in FastAPI with the parameter `openapi_examples` for: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 11.8K bytes - Viewed (0) -
docs/zh/docs/tutorial/schema-extra-example.md
``` === "Python 3.8+" ```Python hl_lines="15-23" {!> ../../../docs_src/schema_extra_example/tutorial001.py!} ``` 这些额外的信息将按原样添加到输出的JSON模式中。 ## `Field` 的附加参数 在 `Field`, `Path`, `Query`, `Body` 和其他你之后将会看到的工厂函数,你可以为JSON 模式声明额外信息,你也可以通过给工厂函数传递其他的任意参数来给JSON 模式声明额外信息,比如增加 `example`: === "Python 3.10+" ```Python hl_lines="2 8-11"
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 3.5K bytes - Viewed (0) -
docs/de/docs/tutorial/schema-extra-example.md
``` === "Python 3.8+" ```Python hl_lines="4 10-13" {!> ../../../docs_src/schema_extra_example/tutorial002.py!} ``` ## `examples` im JSON-Schema – OpenAPI Bei Verwendung von: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Mar 30 20:19:53 GMT 2024 - 13.3K bytes - Viewed (0) -
docs/em/docs/tutorial/schema-extra-example.md
{!> ../../../docs_src/schema_extra_example/tutorial002_py310.py!} ``` !!! warning 🚧 🤯 👈 📚 ➕ ❌ 🚶♀️ 🏆 🚫 🚮 🙆 🔬, 🕴 ➕ ℹ, 🧾 🎯. ## `example` & `examples` 🗄 🕐❔ ⚙️ 🙆: * `Path()` * `Query()` * `Header()` * `Cookie()` * `Body()` * `Form()` * `File()` 👆 💪 📣 💽 `example` ⚖️ 👪 `examples` ⏮️ 🌖 ℹ 👈 🔜 🚮 **🗄**. ### `Body` ⏮️ `example`
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Mar 22 01:42:11 GMT 2024 - 5.5K bytes - Viewed (0)