Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 722 for Paths (0.02 sec)

  1. tests/test_security_oauth2.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/login": {
                    "post": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  2. tests/test_security_oauth2_optional_description.py

        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/login": {
                    "post": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  3. cmd/utils_test.go

    		isMax := isMaxPartID(s.partN)
    		if isMax != s.isMax {
    			t.Errorf("Test %d: Expected %t, got %t", i+1, s.isMax, isMax)
    		}
    	}
    }
    
    // Tests extracting bucket and objectname from various types of paths.
    func TestPath2BucketObjectName(t *testing.T) {
    	testCases := []struct {
    		path           string
    		bucket, object string
    	}{
    		// Test case 1 normal case.
    		{
    			path:   "/bucket/object",
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. cmd/object-api-utils.go

    // for all elements, prepends them with 'prefix' respectively.
    func pathsJoinPrefix(prefix string, elem ...string) (paths []string) {
    	paths = make([]string, len(elem))
    	for i, e := range elem {
    		paths[i] = pathJoin(prefix, e)
    	}
    	return paths
    }
    
    // string concat alternative to s1 + s2 with low overhead.
    func concat(ss ...string) string {
    	length := len(ss)
    	if length == 0 {
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Thu Aug 08 15:29:58 UTC 2024
    - 37.1K bytes
    - Viewed (0)
  5. common-protos/k8s.io/api/extensions/v1beta1/generated.proto

      // Path is matched against the path of an incoming request. Currently it can
      // contain characters disallowed from the conventional "path" part of a URL
      // as defined by RFC 3986. Paths must begin with a '/'. When unspecified,
      // all paths from incoming requests are matched.
      // +optional
      optional string path = 1;
    
      // PathType determines the interpretation of the Path matching. PathType can
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Mon Mar 11 18:43:24 UTC 2024
    - 45.6K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/behind-a-proxy.md

    ```JSON hl_lines="4-8"
    {
        "openapi": "3.1.0",
        // More stuff here
        "servers": [
            {
                "url": "/api/v1"
            }
        ],
        "paths": {
                // More stuff here
        }
    }
    ```
    
    In this example, the "Proxy" could be something like **Traefik**. And the server would be something like FastAPI CLI with **Uvicorn**, running your FastAPI application.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:49:49 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  7. docs/de/docs/advanced/behind-a-proxy.md

    ```JSON hl_lines="4-8"
    {
        "openapi": "3.1.0",
        // Hier mehr Einstellungen
        "servers": [
            {
                "url": "/api/v1"
            }
        ],
        "paths": {
                // Hier mehr Einstellungen
        }
    }
    ```
    
    In diesem Beispiel könnte der „Proxy“ etwa **Traefik** sein. Und der Server wäre so etwas wie **Uvicorn**, auf dem Ihre FastAPI-Anwendung ausgeführt wird.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.1K bytes
    - Viewed (0)
  8. docs/zh/docs/advanced/behind-a-proxy.md

    ```JSON hl_lines="4-8"
    {
        "openapi": "3.0.2",
        // More stuff here
        "servers": [
            {
                "url": "/api/v1"
            }
        ],
        "paths": {
                // More stuff here
        }
    }
    ```
    
    本例中的 `Proxy` 是 **Traefik**,`server` 是运行 FastAPI 应用的 **Uvicorn**。
    
    ### 提供 `root_path`
    
    为此,要以如下方式使用命令行选项 `--root-path`:
    
    <div class="termy">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  9. src/main/java/org/codelibs/fess/thumbnail/ThumbnailManager.java

        public void migrate() {
            new Thread(() -> {
                final Path basePath = baseDir.toPath();
                final String suffix = "." + imageExtention;
                try (Stream<Path> paths = Files.walk(basePath)) {
                    paths.filter(path -> path.toFile().getName().endsWith(imageExtention)).forEach(path -> {
                        final Path subPath = basePath.relativize(path);
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Fri Oct 11 21:20:39 UTC 2024
    - 21.5K bytes
    - Viewed (0)
  10. tests/test_extra_routes.py

        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": {
                            "200": {
                                "description": "Successful Response",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 07 17:12:13 UTC 2023
    - 13.7K bytes
    - Viewed (0)
Back to top