Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1011 - 1020 of 1,838 for inf2 (0.04 sec)

  1. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py310.py

    @needs_py310
    def test_openapi_schema(client: TestClient):
        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}": {
                    "put": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_body_multiple_params/test_tutorial003_an_py39.py

    @needs_py39
    def test_openapi_schema(client: TestClient):
        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}": {
                    "put": {
                        "responses": {
                            "200": {
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  3. tests/test_openapi_separate_input_output_schemas.py

        client = get_app_client()
        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": {
                        "summary": "Read Items",
                        "operationId": "read_items_items__get",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 19.7K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/custom-response.md

    ```Python hl_lines="2  7"
    {!../../docs_src/custom_response/tutorial001b.py!}
    ```
    
    /// info
    
    Der Parameter `response_class` wird auch verwendet, um den „Medientyp“ der Response zu definieren.
    
    In diesem Fall wird der HTTP-Header `Content-Type` auf `application/json` gesetzt.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/schema-extra-example.md

    Sie könnten das beispielsweise verwenden, um Metadaten für eine Frontend-Benutzeroberfläche usw. hinzuzufügen.
    
    ///
    
    /// info
    
    OpenAPI 3.1.0 (verwendet seit FastAPI 0.99.0) hat Unterstützung für `examples` hinzugefügt, was Teil des **JSON Schema** Standards ist.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  6. fastapi/openapi/models.py

    class Tag(BaseModelWithConfig):
        name: str
        description: Optional[str] = None
        externalDocs: Optional[ExternalDocumentation] = None
    
    
    class OpenAPI(BaseModelWithConfig):
        openapi: str
        info: Info
        jsonSchemaDialect: Optional[str] = None
        servers: Optional[List[Server]] = None
        # Using Any for Specification Extensions
        paths: Optional[Dict[str, Union[PathItem, Any]]] = None
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Apr 18 22:49:33 UTC 2024
    - 15K bytes
    - Viewed (0)
  7. istioctl/pkg/multixds/gather.go

    	}
    
    	return retval, nil
    }
    
    // CpInfo returns the Istio control plane info from JSON-encoded XDS ControlPlane Identifier
    func CpInfo(xdsResponse *discovery.DiscoveryResponse) pilotxds.IstioControlPlaneInstance {
    	if xdsResponse.ControlPlane == nil {
    		return pilotxds.IstioControlPlaneInstance{
    			Component: "MISSING",
    			ID:        "MISSING",
    			Info: istioversion.BuildInfo{
    				Version: "MISSING CP ID",
    			},
    		}
    	}
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Wed Oct 09 16:05:45 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  8. cmd/peer-s3-client.go

    	defer cancel()
    
    	_, err := healBucketRPC.Call(ctx, conn, mss)
    
    	// Initialize heal result info
    	return madmin.HealResultItem{
    		Type:     madmin.HealItemBucket,
    		Bucket:   bucket,
    		SetCount: -1, // explicitly set an invalid value -1, for bucket heal scenario
    	}, toStorageErr(err)
    }
    
    // GetBucketInfo returns bucket stat info from a peer
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Aug 13 22:26:05 UTC 2024
    - 15.4K bytes
    - Viewed (0)
  9. docs/bn/docs/index.md

    সার্ভার চালু করুন:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    INFO:     Started reloader process [28720]
    INFO:     Started server process [28722]
    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 30.2K bytes
    - Viewed (0)
  10. docs/hu/docs/index.md

    Indítsd el a szervert a következő paranccsal:
    
    <div class="termy">
    
    ```console
    $ uvicorn main:app --reload
    
    INFO:     Uvicorn running on http://127.0.0.1:8000 (Press CTRL+C to quit)
    INFO:     Started reloader process [28720]
    INFO:     Started server process [28722]
    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 20 19:20:23 UTC 2024
    - 20.2K bytes
    - Viewed (0)
Back to top