- Sort Score
- Num 10 results
- Language All
Results 61 - 70 of 611 for Schemas (0.06 seconds)
-
tests/test_security_oauth2_optional_description.py
"requestBody": { "content": { "application/x-www-form-urlencoded": { "schema": { "$ref": "#/components/schemas/Body_login_login_post" } } }, "required": True,
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 9.9K bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image05.py
page.set_viewport_size({"width": 960, "height": 700}) # Manually add the screenshot page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image05.png" ) # --------------------- context.close() browser.close() process = subprocess.Popen( ["uvicorn", "docs_src.separate_openapi_schemas.tutorial002:app"] ) try:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 984 bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image02.py
page.get_by_role("button", name="Try it out").click() page.get_by_role("button", name="Execute").click() # Manually add the screenshot page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image02.png" ) # --------------------- context.close() browser.close() process = subprocess.Popen( ["uvicorn", "docs_src.separate_openapi_schemas.tutorial001:app"] ) try:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 1K bytes - Click Count (0) -
tests/test_arbitrary_types.py
"content": { "application/json": { "schema": { "$ref": "#/components/schemas/MyModel" } } }, }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 20 15:55:38 GMT 2025 - 3.8K bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image01.py
page.goto("http://localhost:8000/docs") page.get_by_text("POST/items/Create Item").click() page.get_by_role("tab", name="Schema").first.click() # Manually add the screenshot page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image01.png" ) # --------------------- context.close() browser.close() process = subprocess.Popen(
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 974 bytes - Click Count (0) -
tests/test_request_params/test_file/test_required.py
"/required-uploadfile", ], ) def test_required_schema(path: str): openapi = app.openapi() body_model_name = get_body_model_name(openapi, path) assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": { "title": "P", "type": "string", "contentMediaType": "application/octet-stream", },Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Feb 21 13:01:31 GMT 2026 - 11.1K bytes - Click Count (0) -
tests/test_request_params/test_form/test_list.py
) def test_required_list_str_schema(path: str): openapi = app.openapi() body_model_name = get_body_model_name(openapi, path) assert app.openapi()["components"]["schemas"][body_model_name] == { "properties": { "p": { "items": {"type": "string"}, "title": "P", "type": "array", }, },
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sat Dec 27 18:31:34 GMT 2025 - 11.7K bytes - Click Count (0) -
tests/test_openapi_model_description_trim_on_formfeed.py
def test_openapi(): response = client.get("/openapi.json") assert response.status_code == 200, response.text openapi_schema = response.json() assert openapi_schema["components"]["schemas"]["MyModel"]["description"] == ( "A model with a form feed character in the title.\n"
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Jun 17 07:46:27 GMT 2025 - 660 bytes - Click Count (0) -
docs/en/docs/tutorial/body.md
* Generate [JSON Schema](https://json-schema.org) definitions for your model, you can also use them anywhere else you like if it makes sense for your project. * Those schemas will be part of the generated OpenAPI schema, and used by the automatic documentation <abbr title="User Interfaces">UIs</abbr>. ## Automatic docs { #automatic-docs }
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Thu Mar 05 18:13:19 GMT 2026 - 6.5K bytes - Click Count (0) -
scripts/playwright/separate_openapi_schemas/image04.py
page.get_by_role("button", name="Item-Output").click() page.set_viewport_size({"width": 960, "height": 820}) # Manually add the screenshot page.screenshot( path="docs/en/docs/img/tutorial/separate-openapi-schemas/image04.png" ) # --------------------- context.close() browser.close() process = subprocess.Popen( ["uvicorn", "docs_src.separate_openapi_schemas.tutorial001:app"] ) try:
Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Fri Sep 13 09:14:46 GMT 2024 - 1K bytes - Click Count (0)