- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 72 for xsamples (0.23 sec)
-
docs/es/docs/tutorial/schema-extra-example.md
### `examples` específicos de OpenAPI { #openapi-specific-examples } Desde antes de que **JSON Schema** soportara `examples`, OpenAPI tenía soporte para un campo diferente también llamado `examples`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 16 16:33:45 UTC 2025 - 10.3K bytes - Viewed (0) -
docs/en/docs/tutorial/schema-extra-example.md
### OpenAPI-specific `examples` { #openapi-specific-examples } Since before **JSON Schema** supported `examples` OpenAPI had support for a different field also called `examples`.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 20 15:55:38 UTC 2025 - 8.9K bytes - Viewed (0) -
build-logic/integration-testing/src/main/kotlin/gradlebuild/integrationtests/tasks/GenerateAutoTestedSamplesTestTask.kt
import org.gradle.api.tasks.TaskAction import java.util.regex.Pattern import javax.inject.Inject /** * This task scans the main source set and findd samples in javadoc with `class='autoTested'`, * then generates a subclass of AbstractAutoTestedSamplesTest for each class including samples and adds them to the integTest. * * For example, we have two classes ABC.java and XYZ.groovy that include `class='autoTested'`,
Registered: Wed Dec 31 11:36:14 UTC 2025 - Last Modified: Fri Dec 19 06:44:41 UTC 2025 - 3.9K bytes - Viewed (0) -
fastapi/params.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 26.3K bytes - Viewed (0) -
tests/test_openapi_examples.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 15.1K bytes - Viewed (0) -
tests/test_schema_extra_examples.py
def example(item: Item = Body(example={"data": "Data in Body example"})): return item @app.post("/examples/") def examples( item: Item = Body( examples=[ {"data": "Data in Body examples, example1"}, {"data": "Data in Body examples, example2"}, ], ), ): return item with pytest.warns(FastAPIDeprecationWarning):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 18:19:10 UTC 2025 - 32.2K bytes - Viewed (0) -
docs/de/docs/tutorial/schema-extra-example.md
### OpenAPI-spezifische `examples` { #openapi-specific-examples } Schon bevor **JSON Schema** `examples` unterstützte, unterstützte OpenAPI ein anderes Feld, das auch `examples` genannt wurde.Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 24 10:28:19 UTC 2025 - 10.6K bytes - Viewed (0) -
fastapi/param_functions.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Dec 27 12:54:56 UTC 2025 - 63K bytes - Viewed (0) -
docs_src/schema_extra_example/tutorial002_py39.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):
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 517 bytes - Viewed (0) -
tests/test_tutorial/test_schema_extra_example/test_tutorial002.py
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Fri Dec 26 10:43:02 UTC 2025 - 4.9K bytes - Viewed (0)