- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for item_schema (0.04 seconds)
-
tests/test_custom_schema_fields.py
"x-something-internal": {"level": 4}, } } @app.get("/foo", response_model=Item) def foo(): return {"name": "Foo item"} client = TestClient(app) item_schema = { "title": "Item", "required": ["name"], "type": "object", "x-something-internal": { "level": 4, }, "properties": { "name": { "title": "Name",Created: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Tue Feb 17 09:59:14 GMT 2026 - 1.3K bytes - Click Count (0) -
fastapi/openapi/utils.py
) item_schema["required"] = ["data"] item_schema["properties"]["data"] = { "type": "string", "contentMediaType": "application/json", "contentSchema": content_schema, } sse_content["itemSchema"] = item_schemaCreated: Sun Apr 05 07:19:11 GMT 2026 - Last Modified: Sun Mar 15 11:44:39 GMT 2026 - 25.6K bytes - Click Count (0)