Search Options

Results per page
Sort
Preferred Languages
Advance

Results 341 - 350 of 946 for schema (0.49 sec)

  1. tests/test_tutorial/test_dataclasses/test_tutorial002.py

                                            "schema": {"$ref": "#/components/schemas/Item"}
                                        }
                                    },
                                }
                            },
                        }
                    }
                },
                "components": {
                    "schemas": {
                        "Item": {
                            "title": "Item",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 2.9K bytes
    - Viewed (0)
  2. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc.xml

    <ruleset xmlns="http://codenarc.org/ruleset/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://codenarc.org/ruleset/1.0 http://codenarc.org/ruleset-schema.xsd"
             xsi:noNamespaceSchemaLocation="http://codenarc.org/ruleset-schema.xsd">
        <!--<ruleset-ref path='rulesets/basic.xml'>-->
            <!--<exclude name='ExplicitHashSetInstantiation'/>-->
            <!--<exclude name='ExplicitCallToAndMethod'/>-->
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.2K bytes
    - Viewed (0)
  3. impl/maven-cli/src/test/java/org/apache/maven/cling/invoker/mvnup/goals/ModelVersionUtilsTest.java

            @DisplayName("should handle unknown model version in schema location")
            void shouldHandleUnknownModelVersionInSchemaLocation() {
                String schemaLocation = ModelVersionUtils.getSchemaLocationForModelVersion("5.0.0");
                assertNotNull(schemaLocation); // Should return 4.2.0 schema for newer versions
                // The method returns the 4.2.0 schema location for versions newer than 4.1.0
                assertTrue(
    Registered: Sun Dec 28 03:35:09 UTC 2025
    - Last Modified: Tue Nov 18 18:03:26 UTC 2025
    - 19.6K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_response_directly/test_tutorial002.py

                        "responses": {
                            "200": {
                                "content": {
                                    "application/json": {
                                        "schema": {},
                                    },
                                },
                                "description": "Successful Response",
                            },
                        },
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.7K bytes
    - Viewed (0)
  5. build-logic-commons/code-quality-rules/src/main/resources/codenarc/codenarc-integtests.xml

    <ruleset xmlns="http://codenarc.org/ruleset/1.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
             xsi:schemaLocation="http://codenarc.org/ruleset/1.0 http://codenarc.org/ruleset-schema.xsd"
             xsi:noNamespaceSchemaLocation="http://codenarc.org/ruleset-schema.xsd">
        <!--<ruleset-ref path='rulesets/basic.xml'>-->
            <!--<exclude name='ExplicitHashSetInstantiation'/>-->
            <!--<exclude name='ExplicitCallToAndMethod'/>-->
    Registered: Wed Dec 31 11:36:14 UTC 2025
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2.3K bytes
    - Viewed (0)
  6. tests/test_security_openid_connect_description.py

                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
                                "content": {"application/json": {"schema": {}}},
                            }
                        },
                        "summary": "Read Current User",
                        "operationId": "read_current_user_users_me_get",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_authentication_error_status_code/test_tutorial001.py

                                    "content": {"application/json": {"schema": {}}},
                                }
                            },
                            "security": [{"HTTPBearer403": []}],
                        }
                    }
                },
                "components": {
                    "securitySchemes": {
                        "HTTPBearer403": {"type": "http", "scheme": "bearer"}
                    }
                },
            }
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.9K bytes
    - Viewed (0)
  8. tests/test_request_params/test_query/test_optional_str.py

        ["/optional-str", "/model-optional-str"],
    )
    def test_optional_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": False,
                "schema": {
                    "anyOf": [{"type": "string"}, {"type": "null"}],
                    "title": "P",
                },
                "name": "p",
                "in": "query",
            }
        ]
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 8.1K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_custom_response/test_tutorial002_tutorial003_tutorial004.py

    
    def test_openapi_schema(client: TestClient, mod_name: str):
        if mod_name.startswith("tutorial003"):
            response_content = {"application/json": {"schema": {}}}
        else:
            response_content = {"text/html": {"schema": {"type": "string"}}}
    
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Fri Dec 26 10:43:02 UTC 2025
    - 1.8K bytes
    - Viewed (0)
  10. tests/test_security_http_digest.py

        return {"scheme": credentials.scheme, "credentials": credentials.credentials}
    
    
    client = TestClient(app)
    
    
    def test_security_http_digest():
        response = client.get("/users/me", headers={"Authorization": "Digest foobar"})
        assert response.status_code == 200, response.text
        assert response.json() == {"scheme": "Digest", "credentials": "foobar"}
    
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 24 19:03:06 UTC 2025
    - 2.1K bytes
    - Viewed (0)
Back to top