Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 191 - 200 of 213 for response_mode (0.09 seconds)

  1. docs/ru/docs/advanced/openapi-callbacks.md

    Она должна выглядеть как обычная *операция пути* FastAPI:
    
    * Вероятно, в ней должно быть объявление тела запроса, например `body: InvoiceEvent`.
    * А также может быть объявление модели ответа, например `response_model=InvoiceEventReceived`.
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[14:16,19:20,26:30] *}
    
    Есть 2 основных отличия от обычной *операции пути*:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Thu Dec 11 21:25:03 GMT 2025
    - 12.7K bytes
    - Click Count (0)
  2. docs/pt/docs/advanced/custom-response.md

    Mas se você retornar uma `Response` diretamente (ou qualquer subclasse, como `JSONResponse`), os dados não serão convertidos automaticamente (mesmo que você declare um `response_model`), e a documentação não será gerada automaticamente (por exemplo, incluindo o "media type", no cabeçalho HTTP `Content-Type` como parte do esquema OpenAPI gerado).
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 13.8K bytes
    - Click Count (0)
  3. docs/pt/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    {* ../../docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py hl[2:3,6,12,21:22] *}
    
    No exemplo acima, o modelo de entrada é um modelo Pydantic v1, e o modelo de saída (definido em `response_model=ItemV2`) é um modelo Pydantic v2.
    
    ### Parâmetros do Pydantic v1 { #pydantic-v1-parameters }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Nov 12 16:23:57 GMT 2025
    - 5.8K bytes
    - Click Count (0)
  4. docs/en/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *}
    
    ## Additional Responses { #additional-responses }
    
    You probably have seen how to declare the `response_model` and `status_code` for a *path operation*.
    
    That defines the metadata about the main response of a *path operation*.
    
    You can also declare additional responses with their models, status codes, etc.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 20 15:55:38 GMT 2025
    - 7.2K bytes
    - Click Count (0)
  5. docs/de/docs/advanced/openapi-callbacks.md

    * Sie sollte wahrscheinlich eine Deklaration des Bodys enthalten, die sie erhalten soll, z. B. `body: InvoiceEvent`.
    * Und sie könnte auch eine Deklaration der Response enthalten, die zurückgegeben werden soll, z. B. `response_model=InvoiceEventReceived`.
    
    {* ../../docs_src/openapi_callbacks/tutorial001_py310.py hl[14:16,19:20,26:30] *}
    
    Es gibt zwei Hauptunterschiede zu einer normalen *Pfadoperation*:
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 10 13:54:34 GMT 2025
    - 9.2K bytes
    - Click Count (0)
  6. docs/ru/docs/how-to/migrate-from-pydantic-v1-to-pydantic-v2.md

    {* ../../docs_src/pydantic_v1_in_v2/tutorial003_an_py310.py hl[2:3,6,12,21:22] *}
    
    В примере выше модель входных данных — это модель Pydantic v1, а модель выходных данных (указанная в `response_model=ItemV2`) — это модель Pydantic v2.
    
    ### Параметры Pydantic v1 { #pydantic-v1-parameters }
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 10 20:54:56 GMT 2025
    - 8.1K bytes
    - Click Count (0)
  7. okhttp/src/jvmTest/kotlin/okhttp3/CacheTest.kt

        shouldWriteToCache: Boolean,
        responseCode: Int,
        method: String = "GET",
      ) {
        var expectedResponseCode = responseCode
        val server = MockWebServer()
        val builder =
          MockResponse
            .Builder()
            .addHeader("Last-Modified: " + formatDate(-1, TimeUnit.HOURS))
            .addHeader("Expires: " + formatDate(1, TimeUnit.HOURS))
            .code(responseCode)
            .body("ABCDE")
    Created: Fri Dec 26 11:42:13 GMT 2025
    - Last Modified: Fri Oct 03 17:41:45 GMT 2025
    - 116.8K bytes
    - Click Count (0)
  8. docs/de/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *}
    
    ## Zusätzliche Responses { #additional-responses }
    
    Sie haben wahrscheinlich gesehen, wie man das `response_model` und den `status_code` für eine *Pfadoperation* deklariert.
    
    Das definiert die Metadaten der Haupt-<abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Response</abbr> einer *Pfadoperation*.
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 24 10:28:19 GMT 2025
    - 8.3K bytes
    - Click Count (0)
  9. docs/fr/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial004.py hl[19:29] *}
    
    ## Réponses supplémentaires
    
    Vous avez probablement vu comment déclarer le `response_model` et le `status_code` pour une *opération de chemin*.
    
    Cela définit les métadonnées sur la réponse principale d'une *opération de chemin*.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Nov 09 16:39:20 GMT 2024
    - 7.8K bytes
    - Click Count (0)
  10. docs/es/docs/advanced/path-operation-advanced-configuration.md

    {* ../../docs_src/path_operation_advanced_configuration/tutorial004_py310.py hl[17:27] *}
    
    ## Responses Adicionales { #additional-responses }
    
    Probablemente has visto cómo declarar el `response_model` y el `status_code` para una *path operation*.
    
    Eso define los metadatos sobre el response principal de una *path operation*.
    
    También puedes declarar responses adicionales con sus modelos, códigos de estado, etc.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 8.3K bytes
    - Click Count (0)
Back to Top