Search Options

Results per page
Sort
Preferred Languages
Advance

Results 61 - 70 of 77 for Validation (0.13 sec)

  1. docs/en/docs/advanced/path-operation-advanced-configuration.md

    And you could do this even if the data type in the request is not JSON.
    
    For example, in this application we don't use FastAPI's integrated functionality to extract the JSON Schema from Pydantic models nor the automatic validation for JSON. In fact, we are declaring the request content type as YAML, not JSON:
    
    === "Pydantic v2"
    
        ```Python hl_lines="17-22  24"
        {!> ../../../docs_src/path_operation_advanced_configuration/tutorial007.py!}
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 7.7K bytes
    - Viewed (0)
  2. docs/pt/docs/tutorial/schema-extra-example.md

    O **JSON Schema** na verdade não tem um campo `example` nos padrões. Versões recentes do JSON Schema definem um campo <a href="https://json-schema.org/draft/2019-09/json-schema-validation.html#rfc.section.9.5" class="external-link" target="_blank">`examples`</a>, mas o OpenAPI 3.0.3 é baseado numa versão mais antiga do JSON Schema que não tinha `examples`.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  3. docs/distributed/DESIGN.md

    - MinIO also supports expansion of existing clusters in server pools. Each pool is a self contained entity with same SLA's (read/write quorum) for each object as original cluster. By using the existing namespace for lookup validation MinIO ensures conflicting objects are not created. When no such object exists then MinIO simply uses the least used pool to place new objects.
    
    ### There are no limits on how many server pools can be combined
    
    ```
    Registered: Sun Jun 16 00:44:34 UTC 2024
    - Last Modified: Tue Aug 15 23:04:20 UTC 2023
    - 8K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/additional-responses.md

                        "schema": {
                            "$ref": "#/components/schemas/Item"
                        }
                    }
                }
            },
            "422": {
                "description": "Validation Error",
                "content": {
                    "application/json": {
                        "schema": {
                            "$ref": "#/components/schemas/HTTPValidationError"
                        }
                    }
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Jan 09 15:53:39 UTC 2024
    - 8.2K bytes
    - Viewed (0)
  5. samples/ambient-argo/README.md

    |                     | Control Plane              | Data Plane        |
    | ------------------- |:--------------------------:| :----------------:|
    | **Cluster-Scoped**  | CRDs + validation          | CNI<br>ztunnel    |
    | **Workload-Scoped** | istiod<br>tags + revisions |  waypoint (envoy) |
    
    Registered: Fri Jun 14 15:00:06 UTC 2024
    - Last Modified: Sat Nov 04 01:54:50 UTC 2023
    - 8.7K bytes
    - Viewed (0)
  6. docs/zh/docs/tutorial/handling-errors.md

                ],
                "msg": "value is not a valid integer",
                "type": "type_error.integer"
            }
        ]
    }
    
    ```
    
    被替换为了以下文本格式的错误信息:
    
    ```
    1 validation error
    path -> item_id
      value is not a valid integer (type=type_error.integer)
    
    ```
    
    ### `RequestValidationError` vs `ValidationError`
    
    !!! warning "警告"
    
        如果您觉得现在还用不到以下技术细节,可以先跳过下面的内容。
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 8.4K bytes
    - Viewed (0)
  7. docs/zh/docs/tutorial/query-params-str-validations.md

        "bar"
      ]
    }
    ```
    
    !!! tip
        要声明类型为 `list` 的查询参数,如上例所示,你需要显式地使用 `Query`,否则该参数将被解释为请求体。
    
    交互式 API 文档将会相应地进行更新,以允许使用多个值:
    
    <img src="https://fastapi.tiangolo.com/img/tutorial/query-params-str-validations/image02.png">
    
    ### 具有默认值的查询参数列表 / 多个值
    
    你还可以定义在没有任何给定值时的默认 `list` 值:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial012.py!}
    ```
    
    如果你访问:
    
    ```
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  8. docs/ko/docs/tutorial/query-params-str-validations.md

      ]
    }
    ```
    
    !!! tip "팁"
        위의 예와 같이 `list` 자료형으로 쿼리 매개변수를 선언하려면 `Query`를 명시적으로 사용해야 합니다. 그렇지 않으면 요청 본문으로 해석됩니다.
    
    대화형 API 문서는 여러 값을 허용하도록 수정 됩니다:
    
    <img src="/img/tutorial/query-params-str-validations/image02.png">
    
    ### 쿼리 매개변수 리스트 / 기본값을 사용하는 다중값
    
    그리고 제공된 값이 없으면 기본 `list` 값을 정의할 수도 있습니다:
    
    ```Python hl_lines="9"
    {!../../../docs_src/query_params_str_validations/tutorial012.py!}
    ```
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sun Feb 11 13:48:31 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  9. docs/pt/docs/tutorial/path-params-numeric-validations.md

    ```
    
    ## Recapitulando
    
    Com `Query`, `Path` (e outras que você ainda não viu) você pode declarar metadados e validações de texto do mesmo modo que com [Parâmetros de consulta e validações de texto](query-params-str-validations.md){.internal-link target=_blank}.
    
    E você também pode declarar validações numéricas:
    
    * `gt`: maior que (`g`reater `t`han)
    * `ge`: maior que ou igual (`g`reater than or `e`qual)
    * `lt`: menor que (`l`ess `t`han)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 5.6K bytes
    - Viewed (0)
  10. docs/zh/docs/tutorial/path-params-numeric-validations.md

    对于 <abbr title="less than"><code>lt</code></abbr> 也是一样的。
    
    ```Python hl_lines="11"
    {!../../../docs_src/path_params_numeric_validations/tutorial006.py!}
    ```
    
    ## 总结
    
    你能够以与 [查询参数和字符串校验](query-params-str-validations.md){.internal-link target=_blank} 相同的方式使用 `Query`、`Path`(以及其他你还没见过的类)声明元数据和字符串校验。
    
    而且你还可以声明数值校验:
    
    * `gt`:大于(`g`reater `t`han)
    * `ge`:大于等于(`g`reater than or `e`qual)
    * `lt`:小于(`l`ess `t`han)
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Tue Oct 17 05:59:11 UTC 2023
    - 6.3K bytes
    - Viewed (0)
Back to top