Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 474 for Model (0.17 seconds)

  1. docs/en/docs/tutorial/response-model.md

    But if we use the same model for another *path operation*, we could be sending our user's passwords to every client.
    
    /// danger
    
    Never store the plain password of a user or send it in a response like this, unless you know all the caveats and you know what you are doing.
    
    ///
    
    ## Add an output model { #add-an-output-model }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 15.5K bytes
    - Click Count (0)
  2. docs/zh-hant/docs/tutorial/response-model.md

    如此,你就能同時擁有兩種好處:具備工具支援的型別註解,以及資料過濾。
    
    ## 在文件中查看 { #see-it-in-the-docs }
    
    在自動文件中,你可以看到輸入模型與輸出模型各自都有自己的 JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    而且兩個模型都會用在互動式 API 文件中:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## 其他回傳型別註解 { #other-return-type-annotations }
    
    有時你回傳的東西不是有效的 Pydantic 欄位,你仍會在函式上加上註解,只為了獲得工具(編輯器、mypy 等)提供的支援。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  3. docs/zh/docs/tutorial/response-model.md

    这样,你就能兼得两方面的优势:带有**工具支持**的类型注解和**数据过滤**。
    
    ## 在文档中查看 { #see-it-in-the-docs }
    
    当你查看自动文档时,你会看到输入模型和输出模型都会有各自的 JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    并且两个模型都会用于交互式 API 文档:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## 其他返回类型注解 { #other-return-type-annotations }
    
    有些情况下你会返回一些不是有效 Pydantic 字段的内容,并在函数上做了相应注解,只是为了获得工具链(编辑器、mypy 等)的支持。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 14.5K bytes
    - Click Count (0)
  4. docs/tr/docs/tutorial/response-model.md

    ## Dokümanlarda görün { #see-it-in-the-docs }
    
    Otomatik dokümanları gördüğünüzde, input model ve output model’in her birinin kendi JSON Schema’sına sahip olduğunu kontrol edebilirsiniz:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    Ve her iki model de etkileşimli API dokümantasyonunda kullanılır:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Diğer Return Type Annotation’ları { #other-return-type-annotations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 07:53:17 GMT 2026
    - 17K bytes
    - Click Count (0)
  5. docs/de/docs/tutorial/response-model.md

    <img src="/img/tutorial/response-model/image01.png">
    
    Und beide Modelle werden auch in der interaktiven API-Dokumentation verwendet:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Andere Rückgabetyp-Annotationen { #other-return-type-annotations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:58:09 GMT 2026
    - 17.5K bytes
    - Click Count (0)
  6. docs/ja/docs/tutorial/response-model.md

    ## ドキュメントを見る { #see-it-in-the-docs }
    
    自動ドキュメントを見ると、入力モデルと出力モデルがそれぞれ独自のJSON Schemaを持っていることが確認できます:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    そして、両方のモデルは対話型のAPIドキュメントに使用されます:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## その他の戻り値の型アノテーション { #other-return-type-annotations }
    
    Pydanticフィールドとして有効ではないものを返し、ツール(エディタやmypyなど)が提供するサポートを得るためだけに、関数でそれをアノテーションするケースがあるかもしれません。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:07:17 GMT 2026
    - 19.6K bytes
    - Click Count (0)
  7. docs/pt/docs/tutorial/response-model.md

    Quando você vê a documentação automática, pode verificar se o modelo de entrada e o modelo de saída terão seus próprios esquemas JSON:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    E ambos os modelos serão usados ​​para a documentação interativa da API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Outras anotações de tipo de retorno { #other-return-type-annotations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 16.7K bytes
    - Click Count (0)
  8. docs/ko/docs/tutorial/response-model.md

    ## 문서에서 보기 { #see-it-in-the-docs }
    
    자동 생성 문서를 보면 입력 모델과 출력 모델이 각자의 JSON Schema를 가지고 있음을 확인할 수 있습니다:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    그리고 두 모델 모두 대화형 API 문서에 사용됩니다:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## 기타 반환 타입 어노테이션 { #other-return-type-annotations }
    
    유효한 Pydantic 필드가 아닌 것을 반환하면서도, 도구(에디터, mypy 등)가 제공하는 지원을 받기 위해 함수에 어노테이션을 달아두는 경우가 있을 수 있습니다.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 17.9K bytes
    - Click Count (0)
  9. docs/uk/docs/tutorial/response-model.md

    Коли ви дивитеся автоматичну документацію, ви можете перевірити, що вхідна модель і вихідна модель матимуть власну JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    І обидві моделі будуть використані для інтерактивної документації API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Інші анотації типів повернення { #other-return-type-annotations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:27:41 GMT 2026
    - 25.2K bytes
    - Click Count (0)
  10. docs/ru/docs/tutorial/response-model.md

    В автоматической документации вы увидите, что у входной и выходной моделей есть свои JSON Schema:
    
    <img src="/img/tutorial/response-model/image01.png">
    
    И обе модели будут использоваться в интерактивной документации API:
    
    <img src="/img/tutorial/response-model/image02.png">
    
    ## Другие аннотации возвращаемых типов { #other-return-type-annotations }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 17:56:20 GMT 2026
    - 25.5K bytes
    - Click Count (0)
Back to Top