Search Options

Results per page
Sort
Preferred Languages
Advance

Results 461 - 470 of 1,665 for jason (0.02 sec)

  1. tests/test_tutorial/test_header_params/test_tutorial002.py

        response = client.get(path, headers=headers)
        assert response.status_code == expected_status
        assert response.json() == expected_response
    
    
    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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 4.1K bytes
    - Viewed (0)
  2. docs/uk/docs/tutorial/encoder.md

    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    У цьому прикладі вона конвертує Pydantic model у `dict`, а `datetime` у `str`.
    
    Результат виклику цієї функції - це щось, що можна кодувати з використанням стандарту Python <a href="https://docs.python.org/3/library/json.html#json.dumps" class="external-link" target="_blank">`json.dumps()`</a>.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 2.5K bytes
    - Viewed (0)
  3. internal/logger/target/http/http.go

    type Config struct {
    	Enabled     bool              `json:"enabled"`
    	Name        string            `json:"name"`
    	UserAgent   string            `json:"userAgent"`
    	Endpoint    *xnet.URL         `json:"endpoint"`
    	AuthToken   string            `json:"authToken"`
    	ClientCert  string            `json:"clientCert"`
    	ClientKey   string            `json:"clientKey"`
    	BatchSize   int               `json:"batchSize"`
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 15.6K bytes
    - Viewed (0)
  4. internal/s3select/jstream/decoder.go

    	ValueType ValueType
    }
    
    // KV contains a key and value pair parsed from a decoded object
    type KV struct {
    	Key   string `json:"key"`
    	Value any    `json:"value"`
    }
    
    // KVS - represents key values in an JSON object
    type KVS []KV
    
    // MarshalJSON - implements converting a KVS datastructure into a JSON
    // object with multiple keys and values.
    func (kvs KVS) MarshalJSON() ([]byte, error) {
    	b := new(bytes.Buffer)
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 13.4K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/first-steps.md

    Nesse caso, significaria os atributos JSON e os tipos de dados que eles possuem, etc.
    
    #### OpenAPI e JSON Schema { #openapi-and-json-schema }
    
    OpenAPI define um *schema* de API para sua API. E esse *schema* inclui definições (ou "*schemas*") dos dados enviados e recebidos por sua API usando **JSON Schema**, o padrão para *schemas* de dados JSON.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.6K bytes
    - Viewed (0)
  6. docs/es/docs/tutorial/first-steps.md

    En ese caso, significaría los atributos del JSON, los tipos de datos que tienen, etc.
    
    #### OpenAPI y JSON Schema { #openapi-and-json-schema }
    
    OpenAPI define un esquema de API para tu API. Y ese esquema incluye definiciones (o "esquemas") de los datos enviados y recibidos por tu API utilizando **JSON Schema**, el estándar para esquemas de datos JSON.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 13.3K bytes
    - Viewed (0)
  7. tests/test_tutorial/test_behind_a_proxy/test_tutorial001.py

    
    def test_main():
        response = client.get("/app")
        assert response.status_code == 200
        assert response.json() == {"message": "Hello World", "root_path": "/api/v1"}
    
    
    def test_openapi():
        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 Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1K bytes
    - Viewed (0)
  8. docs/zh-hant/docs/tutorial/first-steps.md

    #### 資料 「schema」
    
    「schema」這個術語也可能指某些資料的結構,比如 JSON 內容的結構。
    
    在這種情況下,它指的是 JSON 的屬性、資料型別等。
    
    #### OpenAPI 和 JSON Schema
    
    OpenAPI 定義了 API 的 schema。這個 schema 包含了使用 **JSON Schema** 定義的資料,這是 JSON 資料 schema 的標準。
    
    #### 檢查 `openapi.json`
    
    如果你好奇原始的 OpenAPI schema 長什麼樣子,FastAPI 會自動生成一個包含所有 API 描述的 JSON (schema)。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 11.6K bytes
    - Viewed (0)
  9. tests/test_union_body_discriminator_annotated.py

        response = client.post("/pet/assignment", json={"pet_type": "cat", "meows": 5})
        assert response.status_code == 200, response.text
        assert response.json() == {"pet_type": "cat", "meows": 5}
    
    
    def test_union_body_discriminator_annotated(client: TestClient) -> None:
        response = client.post("/pet/annotated", json={"pet_type": "dog", "barks": 3.5})
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 20 15:55:38 UTC 2025
    - 7.7K bytes
    - Viewed (0)
  10. docs/distributed/samples/myminio-iam-info.zip

    tement":[{"Effect":"Allow","Action":["s3:*"],"Resource":["arn:aws:s3:::*"]}]},writeonly":{"Version":"2012-10-17","Statement":[{"Effect":"Allow","Action":["s3:PutObject"],"Resource":["arn:aws:s3:::*"]}]}} iam-assets/users.json {} iam-assets/groups.json {} iam-assets/svcaccts.json {"bobfisher-svcacct-1":{"parent":"uid=bobfisher,ou=people,ou=hwengg,dc=min,dc=io","accessKey":"bobfisher-svcacct-1","secretKey":"bobfisher-svcacct-1","groups":null,"claims":{"accessKey":"bobfisher-svcacct-1","ldapActualU...
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Thu Sep 12 15:59:00 UTC 2024
    - 1.9K bytes
    - Viewed (0)
Back to top