Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 51 - 60 of 611 for Schemas (0.05 seconds)

  1. tests/test_request_params/test_form/test_optional_str.py

        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_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": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 8.9K bytes
    - Click Count (0)
  2. tests/test_regex_deprecated_body.py

                            "requestBody": {
                                "content": {
                                    "application/x-www-form-urlencoded": {
                                        "schema": {
                                            "$ref": "#/components/schemas/Body_read_items_items__post"
                                        }
                                    }
                                }
                            },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Feb 04 14:34:02 GMT 2026
    - 5.4K bytes
    - Click Count (0)
  3. tests/test_request_params/test_file/test_optional.py

            "/optional-uploadfile",
        ],
    )
    def test_optional_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": {
                    "anyOf": [
                        {"type": "string", "contentMediaType": "application/octet-stream"},
                        {"type": "null"},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 9.8K bytes
    - Click Count (0)
  4. tests/test_request_params/test_form/test_required_str.py

        ["/required-str", "/model-required-str"],
    )
    def test_required_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": {"title": "P", "type": "string"},
            },
            "required": ["p"],
            "title": body_model_name,
            "type": "object",
        }
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10.6K bytes
    - Click Count (0)
  5. tests/test_param_in_path_and_dependency.py

                                    "content": {"application/json": {"schema": {}}},
                                },
                                "422": {
                                    "description": "Validation Error",
                                    "content": {
                                        "application/json": {
                                            "schema": {
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  6. tests/test_multi_body_errors.py

                                    "application/json": {
                                        "schema": {
                                            "title": "Item",
                                            "type": "array",
                                            "items": {"$ref": "#/components/schemas/Item"},
                                        }
                                    }
                                },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 6.7K bytes
    - Click Count (0)
  7. scripts/playwright/separate_openapi_schemas/image03.py

        page.get_by_text("GET/items/Read Items").click()
        page.get_by_role("tab", name="Schema").click()
        page.get_by_label("Schema").get_by_role("button", name="Expand all").click()
        # Manually add the screenshot
        page.screenshot(
            path="docs/en/docs/img/tutorial/separate-openapi-schemas/image03.png"
        )
    
        # ---------------------
        context.close()
        browser.close()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Sep 13 09:14:46 GMT 2024
    - 1K bytes
    - Click Count (0)
  8. tests/test_request_params/test_file/test_list.py

            "/list-uploadfile",
        ],
    )
    def test_list_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": {
                    "type": "array",
                    "items": {
                        "type": "string",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Feb 21 13:01:31 GMT 2026
    - 11.6K bytes
    - Click Count (0)
  9. tests/test_tutorial/test_body_nested_models/test_tutorial001_tutorial002_tutorial003.py

                            "requestBody": {
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/Item",
                                        }
                                    }
                                },
                                "required": True,
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Feb 12 13:19:43 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  10. tests/test_security_oauth2.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: Sun Feb 08 10:18:38 GMT 2026
    - 9.8K bytes
    - Click Count (0)
Back to Top