Search Options

Results per page
Sort
Preferred Languages
Advance

Results 71 - 80 of 277 for Wouters (0.1 sec)

  1. docs_src/extending_openapi/tutorial001.py

            title="Custom title",
            version="2.5.0",
            summary="This is a very custom OpenAPI schema",
            description="Here's a longer description of the custom **OpenAPI** schema",
            routes=app.routes,
        )
        openapi_schema["info"]["x-logo"] = {
            "url": "https://fastapi.tiangolo.com/img/logo-margin/logo-teal.png"
        }
        app.openapi_schema = openapi_schema
        return app.openapi_schema
    
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 737 bytes
    - Viewed (0)
  2. istioctl/pkg/writer/compare/route.go

    		if err != nil {
    			return err
    		}
    		istiodBytes.WriteString(istiod)
    	}
    	diff := difflib.UnifiedDiff{
    		FromFile: "Istiod Routes",
    		A:        difflib.SplitLines(istiodBytes.String()),
    		ToFile:   "Envoy Routes",
    		B:        difflib.SplitLines(envoyBytes.String()),
    		Context:  c.context,
    	}
    	text, err := difflib.GetUnifiedDiffString(diff)
    	if err != nil {
    		return err
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Tue Mar 12 10:02:09 UTC 2024
    - 2.3K bytes
    - Viewed (0)
  3. tests/test_modules_same_name_body/app/main.py

    from fastapi import FastAPI
    
    from . import a, b
    
    app = FastAPI()
    
    app.include_router(a.router, prefix="/a")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 28 17:35:16 UTC 2019
    - 150 bytes
    - Viewed (0)
  4. tests/test_modules_same_name_body/app/a.py

    from fastapi import APIRouter, Body
    
    router = APIRouter()
    
    
    @router.post("/compute")
    def compute(a: int = Body(), b: str = Body()):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri May 13 23:38:22 UTC 2022
    - 160 bytes
    - Viewed (0)
  5. cni/pkg/nodeagent/healthServer_test.go

    	"istio.io/istio/cni/pkg/constants"
    	"istio.io/istio/pkg/test/util/assert"
    )
    
    func TestServer(t *testing.T) {
    	router := http.NewServeMux()
    	installReady, watchReady := initRouter(router)
    
    	assert.Equal(t, installReady.Load(), false)
    	assert.Equal(t, watchReady.Load(), false)
    
    	server := httptest.NewServer(router)
    	defer server.Close()
    
    	makeReq(t, server.URL, constants.LivenessEndpoint, http.StatusOK)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Jan 26 20:34:28 UTC 2024
    - 2K bytes
    - Viewed (0)
  6. istioctl/pkg/writer/envoy/configdump/testdata/routes/empty-gateway/configdump.json

         "route_config": {
          "@type": "type.googleapis.com/envoy.config.route.v3.RouteConfiguration",
          "virtual_hosts": [
           {
            "name": "backend",
            "domains": [
             "*"
            ],
            "routes": [
             {
              "match": {
               "prefix": "/healthz/ready"
              },
              "route": {
               "cluster": "agent"
              }
             }
            ]
           }
          ]
         },
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Nov 29 12:37:14 UTC 2023
    - 1.1K bytes
    - Viewed (0)
  7. cmd/crossdomain-xml-handler_test.go

    	"testing"
    
    	"github.com/minio/mux"
    )
    
    // Test cross domain xml handler.
    func TestCrossXMLHandler(t *testing.T) {
    	// Server initialization.
    	router := mux.NewRouter().SkipClean(true).UseEncodedPath()
    	handler := setCrossDomainPolicyMiddleware(router)
    	srv := httptest.NewServer(handler)
    
    	resp, err := http.Get(srv.URL + crossDomainXMLEntity)
    	if err != nil {
    		t.Fatal(err)
    	}
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Sat Jul 08 14:31:42 UTC 2023
    - 1.3K bytes
    - Viewed (0)
  8. docs/en/docs/how-to/extending-openapi.md

    * `summary`: A short summary of the API.
    * `description`: The description of your API, this can include markdown and will be shown in the docs.
    * `routes`: A list of routes, these are each of the registered *path operations*. They are taken from `app.routes`.
    
    /// info
    
    The parameter `summary` is available in OpenAPI 3.1.0 and above, supported by FastAPI 0.99.0 and above.
    
    ///
    
    ## Overriding the defaults
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 22:39:38 UTC 2024
    - 3.1K bytes
    - Viewed (0)
  9. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/source/TypeNameResolverTest.groovy

            then:
            name == 'org.gradle.SomeClass.Outer.Sibling'
            _ * classMetaData.innerClassNames >> []
            _ * classMetaData.outerClassName >> 'org.gradle.SomeClass.Outer'
            _ * metaDataRepository.get('org.gradle.SomeClass.Outer') >> outerClass
            _ * outerClass.innerClassNames >> ['org.gradle.SomeClass.Outer.Sibling']
        }
    
        def resolvesUnqualifiedNameToJavaLangPackage() {
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 6K bytes
    - Viewed (0)
  10. docs/fr/docs/alternatives.md

    J'ai évité la création d'un nouveau framework pendant plusieurs années. J'ai d'abord essayé de combler toutes les
    fonctionnalités couvertes par **FastAPI** en utilisant de nombreux frameworks, plug-ins et outils différents.
    
    Mais à un moment donné il n'y avait pas d'autre option que de créer quelque chose qui offrait toutes ces
    fonctionnalités, en reprenant et en combinant de la meilleure façon possible les meilleures idées des outils
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 27.6K bytes
    - Viewed (0)
Back to top