- Sort Score
- Result 10 results
- Languages All
Results 371 - 380 of 521 for DETAIL (0.04 sec)
-
docs_src/handling_errors/tutorial006_py39.py
return await request_validation_exception_handler(request, exc) @app.get("/items/{item_id}") async def read_item(item_id: int): if item_id == 3: raise HTTPException(status_code=418, detail="Nope! I don't like 3.")
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 928 bytes - Viewed (0) -
docs/de/docs/how-to/conditional-openapi.md
``` </div> Wenn Sie dann zu den URLs unter `/openapi.json`, `/docs` oder `/redoc` gehen, erhalten Sie lediglich einen `404 Not Found`-Fehler, wie: ```JSON { "detail": "Not Found" }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 3K bytes - Viewed (0) -
docs/pt/docs/tutorial/request-form-models.md
* `username`: `Rick` * `password`: `Portal Gun` * `extra`: `Mr. Poopybutthole` Ele receberá um retorno de erro informando-o que o campo `extra` não é permitido: ```json { "detail": [ { "type": "extra_forbidden", "loc": ["body", "extra"], "msg": "Extra inputs are not permitted", "input": "Mr. Poopybutthole" } ] } ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Nov 12 16:23:57 UTC 2025 - 2.5K bytes - Viewed (0) -
docs_src/dependencies/tutorial014_an_py310.py
yield session def get_user(user_id: int, session: Annotated[Session, Depends(get_session)]): user = session.get(User, user_id) if not user: raise HTTPException(status_code=403, detail="Not authorized") session.close() def generate_stream(query: str): for ch in query: yield ch time.sleep(0.1) @app.get("/generate", dependencies=[Depends(get_user)])
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Sep 29 03:29:38 UTC 2025 - 957 bytes - Viewed (0) -
impl/maven-cli/src/main/java/org/apache/maven/cling/invoker/mvnup/goals/CompatibilityFixStrategy.java
Registered: Sun Dec 28 03:35:09 UTC 2025 - Last Modified: Tue Nov 18 18:03:26 UTC 2025 - 22.2K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-responses.md
}, "HTTPValidationError": { "title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": { "$ref": "#/components/schemas/ValidationError" }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sat Nov 09 16:39:20 UTC 2024 - 9.5K bytes - Viewed (0) -
docs/zh/docs/tutorial/request-form-models.md
如果客户端尝试发送一些额外的数据,他们将收到**错误**响应。 例如,如果客户端尝试发送这样的表单字段: * `username`: `Rick` * `password`: `Portal Gun` * `extra`: `Mr. Poopybutthole` 他们将收到一条错误响应,表明字段 `extra` 是不被允许的: ```json { "detail": [ { "type": "extra_forbidden", "loc": ["body", "extra"], "msg": "Extra inputs are not permitted", "input": "Mr. Poopybutthole" } ] } ```Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Tue Dec 10 20:36:08 UTC 2024 - 2.1K bytes - Viewed (0) -
docs/zh/docs/tutorial/header-param-models.md
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Sun Dec 15 16:44:11 UTC 2024 - 1.7K bytes - Viewed (0) -
docs/ru/docs/advanced/additional-responses.md
}, "HTTPValidationError": { "title": "HTTPValidationError", "type": "object", "properties": { "detail": { "title": "Detail", "type": "array", "items": { "$ref": "#/components/schemas/ValidationError" }Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Wed Dec 17 20:41:43 UTC 2025 - 12.3K bytes - Viewed (0) -
tests/test_top_level_security_scheme_in_openapi.py
assert response.json() == {"message": "Hello, World!"} def test_get_root_no_token(): response = client.get("/") assert response.status_code == 401, response.text assert response.json() == {"detail": "Not authenticated"} def test_openapi_schema(): response = client.get("/openapi.json") assert response.status_code == 200, response.text assert response.json() == snapshot( {
Registered: Sun Dec 28 07:19:09 UTC 2025 - Last Modified: Mon Nov 24 19:03:06 UTC 2025 - 1.9K bytes - Viewed (0)