Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 471 - 480 of 759 for Scheme (0.06 seconds)

  1. 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",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 1.8K bytes
    - Click Count (0)
  2. tests/test_tutorial/test_body_nested_models/test_tutorial004.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 8.8K bytes
    - Click Count (0)
  3. tests/test_tutorial/test_security/test_tutorial003.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 7.7K bytes
    - Click Count (0)
  4. tests/test_tutorial/test_query_params_str_validations/test_tutorial005.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  5. tests/test_tutorial/test_query_params_str_validations/test_tutorial009.py

                                "content": {"application/json": {"schema": {}}},
                            },
                            "422": {
                                "description": "Validation Error",
                                "content": {
                                    "application/json": {
                                        "schema": {
                                            "$ref": "#/components/schemas/HTTPValidationError"
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 4.3K bytes
    - Click Count (0)
  6. tests/test_request_params/test_cookie/test_required_str.py

        ["/required-str", "/model-required-str"],
    )
    def test_required_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == [
            {
                "required": True,
                "schema": {"title": "P", "type": "string"},
                "name": "p",
                "in": "cookie",
            }
        ]
    
    
    @pytest.mark.parametrize(
        "path",
        ["/required-str", "/model-required-str"],
    )
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 10.2K bytes
    - Click Count (0)
  7. 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'/>-->
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Wed Dec 09 08:14:05 GMT 2020
    - 2.2K bytes
    - Click Count (0)
  8. docs/de/docs/how-to/configure-swagger-ui.md

    <img src="/img/tutorial/extending-openapi/image03.png">
    
    ## Das Theme ändern { #change-the-theme }
    
    Auf die gleiche Weise könnten Sie das Theme der Syntaxhervorhebung mit dem Schlüssel `"syntaxHighlight.theme"` festlegen (beachten Sie, dass er einen Punkt in der Mitte hat):
    
    {* ../../docs_src/configure_swagger_ui/tutorial002_py39.py hl[3] *}
    
    Obige Konfiguration würde das Theme für die Farbe der Syntaxhervorhebung ändern:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 3.5K bytes
    - Click Count (0)
  9. 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(
    Created: Sun Dec 28 03:35:09 GMT 2025
    - Last Modified: Tue Nov 18 18:03:26 GMT 2025
    - 19.6K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_path_operation_configurations/test_tutorial001.py

                        "operationId": "create_item_items__post",
                        "requestBody": {
                            "content": {
                                "application/json": {
                                    "schema": {"$ref": "#/components/schemas/Item"}
                                }
                            },
                            "required": True,
                        },
                        "responses": {
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 6.2K bytes
    - Click Count (0)
Back to Top