Search Options

Results per page
Sort
Preferred Languages
Advance

Results 931 - 940 of 1,755 for Gson (0.03 sec)

  1. src/main/config/openapi/openapi-user.yaml

          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        Unauthorized:
          description: Unauthorized request
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
        NotFound:
          description: Page not found
          content:
            application/json:
              schema:
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu May 09 06:31:27 UTC 2024
    - 21.6K bytes
    - Viewed (0)
  2. docs/em/docs/tutorial/handling-errors.md

    πŸš₯ πŸ‘©β€πŸ’» πŸ“¨ `http://example.com/items/foo` ( `item_id` `"foo"`), πŸ‘ˆ πŸ‘©β€πŸ’» πŸ”œ πŸ“¨ πŸ‡ΊπŸ‡ΈπŸ” πŸ‘” πŸ“Ÿ 2️⃣0️⃣0️⃣, & 🎻 πŸ“¨:
    
    ```JSON
    {
      "item": "The Foo Wrestlers"
    }
    ```
    
    βœ‹οΈ πŸš₯ πŸ‘©β€πŸ’» πŸ“¨ `http://example.com/items/bar` (🚫-🚫 `item_id` `"bar"`), πŸ‘ˆ πŸ‘©β€πŸ’» πŸ”œ πŸ“¨ πŸ‡ΊπŸ‡ΈπŸ” πŸ‘” πŸ“Ÿ 4️⃣0️⃣4️⃣ ("🚫 πŸ”Ž" ❌), & 🎻 πŸ“¨:
    
    ```JSON
    {
      "detail": "Item not found"
    }
    ```
    
    /// tip
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.3K bytes
    - Viewed (0)
  3. istioctl/pkg/validate/validate_test.go

    		"valid.yaml": validYAML,
    	})
    
    	tempDirJSON := createTestDirectory(t, map[string]string{
    		"valid.json":       validJSON,
    		"invalid.json":     invalidJSON,
    		"warning.json":     warningsJSON,
    		"invalidYAML.json": invalidJSON,
    	})
    	validTempDirJSON := createTestDirectory(t, map[string]string{
    		"valid.json": validJSON,
    	})
    
    	t.Cleanup(func() {
    		os.RemoveAll(tempDirYAML)
    		os.RemoveAll(validTempDirYAML)
    Registered: Wed Nov 06 22:53:10 UTC 2024
    - Last Modified: Fri Aug 02 16:18:14 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  4. docs/em/docs/tutorial/security/simple-oauth2.md

    πŸ‘† πŸ”œ 🀚 πŸ‘† πŸ‘©β€πŸ’» πŸ“Š, πŸ’–:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "******@****.***",
      "full_name": "John Doe",
      "disabled": false,
      "hashed_password": "fakehashedsecret"
    }
    ```
    
    <img src="/img/tutorial/security/image06.png">
    
    πŸš₯ πŸ‘† πŸ–Š πŸ”’ β„Ή &amp; ⏏, &amp; ‴️ πŸ”„ 🎏 πŸ› οΈ πŸ”„, πŸ‘† πŸ”œ 🀚 πŸ‡ΊπŸ‡ΈπŸ” 4️⃣0️⃣1️⃣ ❌:
    
    ```JSON
    {
      "detail": "Not authenticated"
    }
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  5. cmd/utils_test.go

    	req.Header.Set("content-md5", "====test")
    	jsonReq := dumpRequest(req)
    	type jsonResult struct {
    		Method     string      `json:"method"`
    		RequestURI string      `json:"reqURI"`
    		Header     http.Header `json:"header"`
    	}
    	res := jsonResult{}
    	if err = json.Unmarshal([]byte(strings.ReplaceAll(jsonReq, "%%", "%")), &res); err != nil {
    		t.Fatal(err)
    	}
    
    	// Look for expected method.
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Fri Feb 23 21:28:14 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  6. tests/test_tutorial/test_dependencies/test_tutorial008c.py

        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(client: TestClient):
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    def test_fastapi_error(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_dependencies/test_tutorial008d_an.py

        response = client.get("/items/foo")
        assert response.status_code == 404, response.text
        assert response.json() == {"detail": "Item not found, there's only a plumbus here"}
    
    
    def test_get(client: TestClient):
        response = client.get("/items/plumbus")
        assert response.status_code == 200, response.text
        assert response.json() == "plumbus"
    
    
    def test_internal_error(client: TestClient):
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Feb 24 23:06:37 UTC 2024
    - 1.2K bytes
    - Viewed (0)
  8. docs/pt/docs/how-to/separate-openapi-schemas.md

    <div class="screenshot">
    <img src="/img/tutorial/separate-openapi-schemas/image02.png">
    </div>
    
    Isso significa que ele **sempre terΓ‘ um valor**, sΓ³ que Γ s vezes o valor pode ser `None` (ou `null` em termos de JSON).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu Oct 24 18:52:36 UTC 2024
    - 6.8K bytes
    - Viewed (0)
  9. docs/de/docs/advanced/response-directly.md

    StandardmÀßig konvertiert **FastAPI** diesen Rückgabewert automatisch nach JSON, mithilfe des `jsonable_encoder`, der in [JSON-kompatibler Encoder](../tutorial/encoder.md){.internal-link target=_blank} erlÀutert wird.
    
    Dann wΓΌrde es hinter den Kulissen diese JSON-kompatiblen Daten (z. B. ein `dict`) in eine `JSONResponse` einfΓΌgen, die zum Senden der Response an den Client verwendet wΓΌrde.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.5K bytes
    - Viewed (0)
  10. docs/sts/dex.md

         -config-ep http://127.0.0.1:5556/dex/.well-known/openid-configuration \
         -cscopes groups,openid,email,profile
    ```
    
    ```
    ~ mc admin policy create admin allaccess.json
    ```
    
    Contents of `allaccess.json`
    
    ```json
    {
      "Version": "2012-10-17",
      "Statement": [
        {
          "Effect": "Allow",
          "Action": [
            "s3:*"
          ],
          "Resource": [
            "arn:aws:s3:::*"
          ]
    Registered: Sun Nov 03 19:28:11 UTC 2024
    - Last Modified: Tue Mar 21 06:38:06 UTC 2023
    - 3.8K bytes
    - Viewed (0)
Back to top