Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1121 - 1130 of 1,923 for json$ (0.04 seconds)

  1. tests/test_request_params/test_header/test_required_str.py

        ["/required-str", "/model-required-str"],
    )
    def test_required_str_missing(path: str):
        client = TestClient(app)
        response = client.get(path)
        assert response.status_code == 422
        assert response.json() == {
            "detail": [
                {
                    "type": "missing",
                    "loc": ["header", "p"],
                    "msg": "Field required",
                    "input": AnyThing,
                }
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  2. configure.py

      # SDK API level, as the NDK API level is effectively the *min* target SDK
      # version.
      meta = open(os.path.join(android_ndk_home_path, 'meta/platforms.json'))
      platforms = json.load(meta)
      meta.close()
      aliases = platforms['aliases']
      api_levels = sorted(list(set([aliases[i] for i in aliases])))
    
      android_ndk_api_level = prompt_loop_or_load_from_env(
          environ_cp,
    Created: Tue Apr 07 12:39:13 GMT 2026
    - Last Modified: Fri Dec 19 16:32:04 GMT 2025
    - 48.3K bytes
    - Click Count (0)
  3. docs/fr/docs/tutorial/schema-extra-example.md

    ///
    
    ### Le champ `examples` de JSON Schema { #json-schemas-examples-field }
    
    Ensuite, JSON Schema a ajouté un champ [`examples`](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5) dans une nouvelle version de la spécification.
    
    Puis le nouveau OpenAPI 3.1.0 s'est basé sur la dernière version (JSON Schema 2020-12) qui incluait ce nouveau champ `examples`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  4. docs/es/docs/tutorial/schema-extra-example.md

    ///
    
    ### Campo `examples` de JSON Schema { #json-schemas-examples-field }
    
    Pero luego JSON Schema añadió un [campo `examples`](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5) a una nueva versión de la especificación.
    
    Y entonces el nuevo OpenAPI 3.1.0 se basó en la última versión (JSON Schema 2020-12) que incluía este nuevo campo `examples`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  5. docs/pt/docs/tutorial/schema-extra-example.md

    ///
    
    ### Campo `examples` do JSON Schema { #json-schemas-examples-field }
    
    Depois, o JSON Schema adicionou um campo [`examples`](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5) em uma nova versão da especificação.
    
    E então o novo OpenAPI 3.1.0 passou a se basear na versão mais recente (JSON Schema 2020-12), que incluiu esse novo campo `examples`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  6. docs/ko/docs/tutorial/schema-extra-example.md

    이 예전 OpenAPI-특화 `examples` 매개변수는 이제 FastAPI `0.103.0`부터 `openapi_examples`입니다.
    
    ///
    
    ### JSON 스키마의 `examples` 필드 { #json-schemas-examples-field }
    
    하지만, 후에 JSON 스키마는 [`examples`](https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5) 필드를 명세서의 새 버전에 추가했습니다.
    
    그리고 새로운 OpenAPI 3.1.0은 이 새로운 `examples` 필드가 포함된 최신 버전 (JSON 스키마 2020-12)을 기반으로 했습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 10.3K bytes
    - Click Count (0)
  7. schema/field.go

    		}
    	}
    
    	if v, isSerializer := fieldValue.Interface().(SerializerInterface); isSerializer {
    		field.DataType = String
    		field.Serializer = v
    	} else {
    		serializerName := field.TagSettings["JSON"]
    		if serializerName == "" {
    			serializerName = field.TagSettings["SERIALIZER"]
    		}
    		if serializerName != "" {
    			if serializer, ok := GetSerializer(serializerName); ok {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Nov 22 03:14:36 GMT 2025
    - 32.2K bytes
    - Click Count (0)
  8. tests/test_request_param_model_by_alias.py

        assert response.status_code == 200, response.text
        assert response.json() == {"param": "value"}
    
    
    def test_header_model_with_alias():
        client = TestClient(app)
        response = client.get("/header", headers={"param_alias": "value"})
        assert response.status_code == 200, response.text
        assert response.json() == {"param": "value"}
    
    
    def test_cookie_model_with_alias():
        client = TestClient(app)
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 2.1K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/encoder.md

    {* ../../docs_src/encoder/tutorial001_py310.py hl[4,21] *}
    
    У цьому прикладі вона конвертує модель Pydantic у `dict`, а `datetime` у `str`.
    
    Результат виклику цієї функції — це щось, що можна кодувати з використанням стандарту Python [`json.dumps()`](https://docs.python.org/3/library/json.html#json.dumps).
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 2.4K bytes
    - Click Count (0)
  10. tests/test_tutorial/test_body/test_tutorial001.py

            "/items/",
            headers={"content-type": "application/json"},
            content="{some broken json}",
        )
        assert response.status_code == 422, response.text
        assert response.json() == {
            "detail": [
                {
                    "type": "json_invalid",
                    "loc": ["body", 1],
                    "msg": "JSON decode error",
                    "input": {},
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Mon Feb 23 17:45:20 GMT 2026
    - 11.1K bytes
    - Click Count (0)
Back to Top