Search Options

Results per page
Sort
Preferred Languages
Advance

Results 181 - 190 of 2,158 for paths (0.02 sec)

  1. .teamcity/src/test/kotlin/PerformanceTestBuildTypeTest.kt

                "-PautoDownloadAndroidStudio=true",
                "-PrunAndroidStudioInHeadlessMode=true",
                "-Porg.gradle.java.installations.auto-download=false",
                "\"-Porg.gradle.java.installations.paths=%linux.java7.oracle.64bit%,%linux.java8.oracle.64bit%,%linux.java11.openjdk.64bit%,%linux.java17.openjdk.64bit%,%linux.java21.openjdk.64bit%,%linux.java23.openjdk.64bit%\"",
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Mon Sep 30 07:24:00 UTC 2024
    - 7.3K bytes
    - Viewed (0)
  2. docs/em/docs/advanced/behind-a-proxy.md

            {
                "url": "/api/v1"
            }
        ],
        "paths": {
                // More stuff here
        }
    }
    ```
    
    👉 🖼, "🗳" 💪 🕳 💖 **Traefik**. & 💽 🔜 🕳 💖 **Uvicorn**, 🏃‍♂ 👆 FastAPI 🈸.
    
    ### 🚚 `root_path`
    
    🏆 👉, 👆 💪 ⚙️ 📋 ⏸ 🎛 `--root-path` 💖:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --root-path /api/v1
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_handling_errors/test_tutorial006.py

                        "loc": ["path", "item_id"],
                        "msg": "Input should be a valid integer, unable to parse string as an integer",
                        "input": "foo",
                    }
                ]
            }
        ) | IsDict(
            # TODO: remove when deprecating Pydantic v1
            {
                "detail": [
                    {
                        "loc": ["path", "item_id"],
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_header_params/test_tutorial003_an_py39.py

        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    @needs_py39
    def test_openapi_schema(client: TestClient):
        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_custom_response/test_tutorial006b.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/fastapi": {
                    "get": {
                        "summary": "Redirect Fastapi",
                        "operationId": "redirect_fastapi_fastapi_get",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 899 bytes
    - Viewed (0)
  6. tests/test_tutorial/test_path_operation_advanced_configurations/test_tutorial001.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_behind_a_proxy/test_tutorial002.py

        response = client.get("/openapi.json")
        assert response.status_code == 200
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/app": {
                    "get": {
                        "summary": "Read Main",
                        "operationId": "read_main_app_get",
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 1K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_additional_responses/test_tutorial001.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/{item_id}": {
                    "get": {
                        "responses": {
                            "404": {
                                "description": "Not Found",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 4.3K bytes
    - Viewed (0)
  9. tests/test_param_in_path_and_dependency.py

    
    def test_openapi_schema():
        response = client.get("/openapi.json")
        data = response.json()
        assert data == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/users/{user_id}": {
                    "get": {
                        "summary": "Read Users",
                        "operationId": "read_users_users__user_id__get",
                        "parameters": [
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 3.1K bytes
    - Viewed (0)
  10. cmd/os-instrumented.go

    }
    
    func osTrace(s osMetric, startTime time.Time, duration time.Duration, path string, err error) madmin.TraceInfo {
    	var errStr string
    	if err != nil {
    		errStr = err.Error()
    	}
    	return madmin.TraceInfo{
    		TraceType: madmin.TraceOS,
    		Time:      startTime,
    		NodeName:  globalLocalNodeName,
    		FuncName:  "os." + s.String(),
    		Duration:  duration,
    		Path:      path,
    		Error:     errStr,
    	}
    }
    
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Feb 15 01:09:38 UTC 2024
    - 6.3K bytes
    - Viewed (0)
Back to top