- Sort Score
- Result 10 results
- Languages All
Results 41 - 50 of 1,082 for schemas (0.16 sec)
-
docs_src/sql_databases/sql_app_py39/alt_main.py
@app.post("/users/", response_model=schemas.User) def create_user(user: schemas.UserCreate, db: Session = Depends(get_db)): db_user = crud.get_user_by_email(db, email=user.email) if db_user: raise HTTPException(status_code=400, detail="Email already registered") return crud.create_user(db=db, user=user) @app.get("/users/", response_model=list[schemas.User])
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jan 07 14:11:31 GMT 2022 - 1.9K bytes - Viewed (0) -
docs/fr/docs/advanced/additional-responses.md
"application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError" } } } } } } ``` Les schémas sont référencés à un autre endroit du modèle OpenAPI : ```JSON hl_lines="4-16" { "components": { "schemas": { "Message": { "title": "Message",
Plain Text - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Thu Apr 18 19:53:19 GMT 2024 - 9.6K bytes - Viewed (0) -
tests/test_generate_unique_id_function.py
"schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, }, }, } }, }, "components": { "schemas": { "Body_foo_post_root": {
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Sat Jan 13 15:10:26 GMT 2024 - 66.7K bytes - Viewed (0) -
tests/test_additional_properties_bool.py
"schema": { "$ref": "#/components/schemas/HTTPValidationError" } } }, }, }, } } }, "components": { "schemas": { "Foo": {
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 4.2K bytes - Viewed (0) -
tests/test_tutorial/test_request_files/test_tutorial003_an.py
}, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError"
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 7.1K bytes - Viewed (0) -
tests/test_tutorial/test_additional_responses/test_tutorial001.py
"description": "Not Found", "content": { "application/json": { "schema": {"$ref": "#/components/schemas/Message"} } }, }, "200": { "description": "Successful Response",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 4.3K bytes - Viewed (1) -
tests/test_tutorial/test_request_files/test_tutorial001_03_an.py
}, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError"
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 6K bytes - Viewed (0) -
tests/test_tutorial/test_response_model/test_tutorial006.py
"description": "Successful Response", "content": { "application/json": { "schema": {"$ref": "#/components/schemas/Item"} } }, }, "422": { "description": "Validation Error",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Aug 04 20:47:07 GMT 2023 - 6K bytes - Viewed (0) -
tests/test_tutorial/test_additional_responses/test_tutorial003.py
"description": "The item was not found", "content": { "application/json": { "schema": {"$ref": "#/components/schemas/Message"} } }, }, "200": { "description": "Item requested by ID",
Python - Registered: Sun Apr 28 07:19:10 GMT 2024 - Last Modified: Fri Jun 30 18:25:16 GMT 2023 - 4.5K bytes - Viewed (0) -
tests/test_extra_routes.py
}, "422": { "description": "Validation Error", "content": { "application/json": { "schema": { "$ref": "#/components/schemas/HTTPValidationError"
Python - Registered: Sun May 05 07:19:11 GMT 2024 - Last Modified: Fri Jul 07 17:12:13 GMT 2023 - 13.7K bytes - Viewed (0)