Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 301 - 310 of 611 for Schemas (0.05 seconds)

  1. tests/test_request_params/test_query/test_required_str.py

    )
    def test_required_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot(
            [
                {
                    "required": True,
                    "schema": {"title": "P", "type": "string"},
                    "name": "p",
                    "in": "query",
                }
            ]
        )
    
    
    @pytest.mark.parametrize(
        "path",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 10.2K bytes
    - Click Count (0)
  2. docs/pt/docs/how-to/extending-openapi.md

    ### Gerar o esquema OpenAPI { #generate-the-openapi-schema }
    
    Em seguida, use a mesma função utilitária para gerar o esquema OpenAPI, dentro de uma função `custom_openapi()`:
    
    {* ../../docs_src/extending_openapi/tutorial001_py310.py hl[2,15:21] *}
    
    ### Modificar o esquema OpenAPI { #modify-the-openapi-schema }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 3.5K bytes
    - Click Count (0)
  3. generics.go

    	switch rel.Type {
    	case schema.HasOne, schema.HasMany:
    		assocDB = assocDB.Where("? IN (?)", foreignColumns, base.Select(ownerPKNames))
    		switch op.Type {
    		case clause.OpUnlink:
    			return assocDB.Updates(fkNil).Error
    		case clause.OpDelete:
    			return assocDB.Delete(assocModel).Error
    		case clause.OpUpdate:
    			return assocDB.Updates(setMap).Error
    		}
    	case schema.BelongsTo:
    		switch op.Type {
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Sat Mar 21 11:34:24 GMT 2026
    - 26K bytes
    - Click Count (0)
  4. docs/zh-hant/docs/tutorial/body.md

    - 把接收到的資料放在參數 `item` 中提供給你。
        - 由於你在函式中將其宣告為 `Item` 型別,你也會獲得完整的編輯器支援(自動完成等)以及所有屬性與其型別。
    - 為你的模型產生 [JSON Schema](https://json-schema.org) 定義,如有需要,你也可以在專案中的其他地方使用。
    - 這些 schema 會成為產生的 OpenAPI schema 的一部分,並由自動文件 <abbr title="User Interfaces - 使用者介面">UIs</abbr> 使用。
    
    ## 自動文件 { #automatic-docs }
    
    你的模型的 JSON Schema 會納入產生的 OpenAPI schema,並顯示在互動式 API 文件中:
    
    <img src="/img/tutorial/body/image01.png">
    
    也會用於每個需要它們的*路徑操作*內的 API 文件:
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 6K bytes
    - Click Count (0)
  5. docs/es/docs/advanced/path-operation-advanced-configuration.md

                                    "schema": {}
                                }
                            }
                        }
                    },
                    "x-aperture-labs-portal": "blue"
                }
            }
        }
    }
    ```
    
    ### Esquema de *path operation* personalizada de OpenAPI { #custom-openapi-path-operation-schema }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 7.5K bytes
    - Click Count (0)
  6. tests/test_generic_parameterless_depends.py

                        "get": {
                            "operationId": "a_a_get",
                            "responses": {
                                "200": {
                                    "content": {"application/json": {"schema": {}}},
                                    "description": "Successful Response",
                                }
                            },
                            "summary": "A",
                        }
                    },
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Feb 08 10:18:38 GMT 2026
    - 2K bytes
    - Click Count (0)
  7. docs/es/docs/features.md

    * Documentación automática de modelos de datos con [**JSON Schema**](https://json-schema.org/) (ya que OpenAPI en sí mismo está basado en JSON Schema).
    * Diseñado alrededor de estos estándares, tras un estudio meticuloso. En lugar de ser una capa adicional.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:15:55 GMT 2026
    - 10.1K bytes
    - Click Count (0)
  8. tests/test_request_params/test_query/test_optional_list.py

    )
    def test_optional_list_str_schema(path: str):
        assert app.openapi()["paths"][path]["get"]["parameters"] == snapshot(
            [
                {
                    "required": False,
                    "schema": {
                        "anyOf": [
                            {"items": {"type": "string"}, "type": "array"},
                            {"type": "null"},
                        ],
                        "title": "P",
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 17 09:59:14 GMT 2026
    - 9.4K bytes
    - Click Count (0)
  9. tests/test_request_params/test_form/utils.py

    from typing import Any
    
    
    def get_body_model_name(openapi: dict[str, Any], path: str) -> str:
        body = openapi["paths"][path]["post"]["requestBody"]
        body_schema = body["content"]["application/x-www-form-urlencoded"]["schema"]
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 285 bytes
    - Click Count (0)
  10. docs/fr/docs/tutorial/extra-data-types.md

            * Dans les réponses, le `set` sera converti en `list`.
            * Le schéma généré indiquera que les valeurs du `set` sont uniques (en utilisant `uniqueItems` de JSON Schema).
    * `bytes` :
        * `bytes` Python standard.
        * Dans les requêtes et les réponses, traité comme une `str`.
        * Le schéma généré indiquera qu'il s'agit d'une `str` avec le « format » `binary`.
    * `Decimal` :
        * `Decimal` Python standard.
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 3.2K bytes
    - Click Count (0)
Back to Top