Search Options

Results per page
Sort
Preferred Languages
Advance

Results 481 - 490 of 946 for schema (0.82 sec)

  1. docs/zh/docs/tutorial/body.md

    * 以 JSON 形式读取请求体
    * (在必要时)把请求体转换为对应的类型
    * 校验数据:
        * 数据无效时返回错误信息,并指出错误数据的确切位置和内容
    * 把接收的数据赋值给参数 `item`
        * 把函数中请求体参数的类型声明为 `Item`,还能获得代码补全等编辑器支持
    * 为模型生成 <a href="https://json-schema.org" class="external-link" target="_blank">JSON Schema</a>,在项目中所需的位置使用
    * 这些概图是 OpenAPI 概图的部件,用于 API 文档 <abbr title="用户界面">UI</abbr>
    
    ## API 文档
    
    Pydantic 模型的 JSON 概图是 OpenAPI 生成的概图部件,可在 API 文档中显示:
    
    <img src="/img/tutorial/body/image01.png">
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Mon Nov 18 02:25:44 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  2. CLAUDE.md

    ## Development Commands
    
    ### Setup
    ```bash
    # Download OpenSearch plugins (required before first build)
    mvn antrun:run
    
    # Generate DBFlute source code (when schema changes)
    mvn dbflute:download  # One-time setup
    mvn dbflute:freegen
    mvn license:format
    ```
    
    ### Build
    ```bash
    # Standard build
    mvn package
    
    # Clean build
    mvn clean package
    
    Registered: Sat Dec 20 09:19:18 UTC 2025
    - Last Modified: Fri Nov 28 16:29:12 UTC 2025
    - 4.8K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/body-nested-models.md

    {* ../../docs_src/body_nested_models/tutorial005_py310.py hl[2,8] *}
    
    The string will be checked to be a valid URL, and documented in JSON Schema / OpenAPI as such.
    
    ## Attributes with lists of submodels { #attributes-with-lists-of-submodels }
    
    You can also use Pydantic models as subtypes of `list`, `set`, etc.:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 6.7K bytes
    - Viewed (0)
  4. docs/de/docs/advanced/additional-status-codes.md

    ///
    
    ## OpenAPI- und API-Dokumentation { #openapi-and-api-docs }
    
    Wenn Sie zusätzliche Statuscodes und Responses direkt zurückgeben, werden diese nicht in das OpenAPI-Schema (die API-Dokumentation) aufgenommen, da FastAPI keine Möglichkeit hat, im Voraus zu wissen, was Sie zurückgeben werden.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Sep 20 15:10:09 UTC 2025
    - 2.4K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/response-model.md

    * In der OpenAPI *Pfadoperation* ein **JSON-Schema** für die Response hinzuzufügen.
        * Dieses wird von der **automatischen Dokumentation** verwendet.
        * Es wird auch von automatisch Client-Code-generierenden Tools verwendet.
    
    Aber am wichtigsten:
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 24 10:28:19 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/response-status-code.md

    ///
    
    It will:
    
    * Return that status code in the response.
    * Document it as such in the OpenAPI schema (and so, in the user interfaces):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note
    
    Some response codes (see the next section) indicate that the response does not have a body.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 4K bytes
    - Viewed (0)
  7. schema/serializer.go

    package schema
    
    import (
    	"bytes"
    	"context"
    	"database/sql"
    	"database/sql/driver"
    	"encoding/gob"
    	"encoding/json"
    	"fmt"
    	"math"
    	"reflect"
    	"strings"
    	"sync"
    	"time"
    )
    
    var serializerMap = sync.Map{}
    
    // RegisterSerializer register serializer
    func RegisterSerializer(name string, serializer SerializerInterface) {
    	serializerMap.Store(strings.ToLower(name), serializer)
    }
    
    // GetSerializer get serializer
    Registered: Sun Dec 28 09:35:17 UTC 2025
    - Last Modified: Sun Oct 26 12:29:44 UTC 2025
    - 5.1K bytes
    - Viewed (0)
  8. docs/fr/docs/tutorial/query-params-str-validations.md

    ```Python
    q: Union[str, None] = Query(default=None, max_length=50)
    ```
    
    Cela va valider les données, montrer une erreur claire si ces dernières ne sont pas valides, et documenter le paramètre dans le schéma `OpenAPI` de cette *path operation*.
    
    ## Rajouter plus de validation
    
    Vous pouvez aussi rajouter un second paramètre `min_length` :
    
    {* ../../docs_src/query_params_str_validations/tutorial003.py hl[9] *}
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Nov 09 16:39:20 UTC 2024
    - 9.5K bytes
    - Viewed (0)
  9. docs/ja/docs/history-design-future.md

    ## 調査
    
    すべて既存の代替手段を使うことで、そのすべてを学び、アイデアを得て、自分や一緒に仕事をしてきた開発者のチームにとって最良の方法で組み合わせる機会を得ました。
    
    たとえば、理想的にはPythonの標準的な型ヒントに基づくべきであることが明らかになりました。
    
    また、すでにある規格を利用するのがベストな方法でした。
    
    そこで、**FastAPI**のコードを書き始める前に、OpenAPI、JSON Schema、OAuth2などの仕様を数ヶ月かけて勉強し、それらの関係、重複する箇所、相違点を理解しました。
    
    ## 設計
    
    その後、 (FastAPIを使う開発者として) ユーザーが欲しい「API」の設計に時間を費やしました。
    
    もっとも人気のあるPythonエディターでいくつかのアイデアをテストしました。PyCharm、VS Code、Jediベースのエディターです。
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Oct 11 17:48:49 UTC 2025
    - 5.3K bytes
    - Viewed (0)
  10. docs/en/docs/tutorial/dependencies/index.md

    ///
    
    ## Integrated with OpenAPI { #integrated-with-openapi }
    
    All the request declarations, validations and requirements of your dependencies (and sub-dependencies) will be integrated in the same OpenAPI schema.
    
    So, the interactive docs will have all the information from these dependencies too:
    
    <img src="/img/tutorial/dependencies/image01.png">
    
    ## Simple usage { #simple-usage }
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 9.6K bytes
    - Viewed (0)
Back to top