- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 798 for examples (0.32 sec)
-
docs/pt/docs/tutorial/schema-extra-example.md
Portanto, embora `example` não seja parte do JSON Schema, é parte da versão customizada do JSON Schema usada pelo OpenAPI, e é isso que vai ser usado dentro da UI de documentação.
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) -
.idea/encodings.xml
<file url="file://$PROJECT_DIR$/libraries/examples/browser-example/src/main/resources" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/libraries/examples/js-example" charset="UTF-8" /> <file url="file://$PROJECT_DIR$/libraries/examples/js-example/src/main/kotlin" charset="UTF-8" />
XML - Registered: Fri May 03 08:18:13 GMT 2024 - Last Modified: Mon Aug 22 14:23:18 GMT 2022 - 5.9K bytes - Viewed (0) -
docs/ja/docs/tutorial/schema-extra-example.md
そのため、OpenAPIでは同じ目的のために<a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#fixed-fields-20" class="external-link" target="_blank">`example`</a>を独自に定義しており(`examples`ではなく`example`として)、それがdocs UI(Swagger UIを使用)で使用されています。 つまり、`example`はJSON Schemaの一部ではありませんが、OpenAPIの一部であり、それがdocs UIで使用されることになります。 ## その他の情報
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/em/docs/tutorial/schema-extra-example.md
, 👐 `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) -
docs/zh/docs/tutorial/schema-extra-example.md
{!> ../../../docs_src/schema_extra_example/tutorial003.py!} ``` ## 文档 UI 中的例子 使用上面的任何方法,它在 `/docs` 中看起来都是这样的: <img src="/img/tutorial/body-fields/image01.png"> ## 技术细节 关于 `example` 和 `examples`... JSON Schema在最新的一个版本中定义了一个字段 <a href="https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5" class="external-link" target="_blank">`examples`</a> ,但是 OpenAPI 基于之前的一个旧版JSON Schema,并没有 `examples`.
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_src/schema_extra_example/tutorial002_py310.py
from fastapi import FastAPI from pydantic import BaseModel, Field app = FastAPI() class Item(BaseModel): name: str = Field(examples=["Foo"]) description: str | None = Field(default=None, examples=["A very nice Item"]) price: float = Field(examples=[35.4]) tax: float | None = Field(default=None, examples=[3.2]) @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 479 bytes - Viewed (0) -
.gitignore
# iOS *.pbxproj *.xcworkspace /*.podspec /tensorflow/lite/**/coreml/**/BUILD /tensorflow/lite/**/ios/BUILD /tensorflow/lite/**/objc/BUILD /tensorflow/lite/**/swift/BUILD /tensorflow/lite/examples/ios/simple/data/*.tflite /tensorflow/lite/examples/ios/simple/data/*.txt Podfile.lock Pods
Plain Text - Registered: Tue Apr 30 12:39:09 GMT 2024 - Last Modified: Wed Jan 31 22:28:59 GMT 2024 - 934 bytes - Viewed (0) -
docs/extensions/s3zip/README.md
## Code Examples [Using minio-go library](https://github.com/minio/minio/blob/master/docs/extensions/s3zip/examples/minio-go/main.go) [Using AWS JS SDK v2](https://github.com/minio/minio/blob/master/docs/extensions/s3zip/examples/aws-js/main.js) [Using boto3](https://github.com/minio/minio/blob/master/docs/extensions/s3zip/examples/boto3/main.py) ## Requirements and limits
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Wed Apr 10 16:28:27 GMT 2024 - 3K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial002.py
from pydantic import BaseModel, Field app = FastAPI() class Item(BaseModel): name: str = Field(examples=["Foo"]) description: Union[str, None] = Field(default=None, examples=["A very nice Item"]) price: float = Field(examples=[35.4]) tax: Union[float, None] = Field(default=None, examples=[3.2]) @app.put("/items/{item_id}") async def update_item(item_id: int, item: Item):
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 517 bytes - Viewed (0) -
code_of_conduct.md
orientation. ## Our Standards Examples of behavior that contributes to creating a positive environment include: * Using welcoming and inclusive language * Being respectful of differing viewpoints and experiences * Gracefully accepting constructive criticism * Focusing on what is best for the community * Showing empathy towards other community members Examples of unacceptable behavior by participants include:
Plain Text - Registered: Sun May 05 19:28:20 GMT 2024 - Last Modified: Mon Jan 20 18:38:58 GMT 2020 - 3.5K bytes - Viewed (0)