Search Options

Results per page
Sort
Preferred Languages
Advance

Results 161 - 170 of 347 for declared (0.05 sec)

  1. docs/es/docs/index.md

    * La documentación alternativa también reflejará el nuevo parámetro de query y body:
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-06-redoc-02.png)
    
    ### Resumen
    
    En resumen, declaras **una vez** los tipos de parámetros, body, etc. como parámetros de función.
    
    Lo haces con tipos estándar modernos de Python.
    
    No tienes que aprender una nueva sintaxis, los métodos o clases de un paquete específico, etc.
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 10:49:48 UTC 2025
    - 21.5K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/header-param-models.md

    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Header Parameters with a Pydantic Model { #header-parameters-with-a-pydantic-model }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.6K bytes
    - Viewed (0)
  3. docs/en/docs/tutorial/query-param-models.md

    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    ## Query Parameters with a Pydantic Model { #query-parameters-with-a-pydantic-model }
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.2K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/request-forms.md

    With `Form` you can declare the same configurations as with `Body` (and `Query`, `Path`, `Cookie`), including validation, examples, an alias (e.g. `user-name` instead of `username`), etc.
    
    /// info
    
    `Form` is a class that inherits directly from `Body`.
    
    ///
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 2.7K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/header-params.md

    ## Import `Header` { #import-header }
    
    First import `Header`:
    
    {* ../../docs_src/header_params/tutorial001_an_py310.py hl[3] *}
    
    ## Declare `Header` parameters { #declare-header-parameters }
    
    Then declare the header parameters using the same structure as with `Path`, `Query` and `Cookie`.
    
    You can define the default value as well as all the extra validation or annotation parameters:
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3K bytes
    - Viewed (0)
  6. docs/en/docs/advanced/additional-responses.md

    You can declare a `response_model`, using the default status code `200` (or a custom one if you need), and then declare additional information for that same response in `responses`, directly in the OpenAPI schema.
    
    **FastAPI** will keep the additional information from `responses`, and combine it with the JSON Schema from your model.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 8.9K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/cookie-param-models.md

    # Cookie Parameter Models { #cookie-parameter-models }
    
    If you have a group of **cookies** that are related, you can create a **Pydantic model** to declare them. 🍪
    
    This would allow you to **re-use the model** in **multiple places** and also to declare validations and metadata for all the parameters at once. 😎
    
    /// note
    
    This is supported since FastAPI version `0.115.0`. 🤓
    
    ///
    
    /// tip
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 3.1K bytes
    - Viewed (0)
  8. docs/en/docs/python-types.md

    {* ../../docs_src/python_types/tutorial004.py hl[2] *}
    
    ## Declaring types { #declaring-types }
    
    You just saw the main place to declare type hints. As function parameters.
    
    This is also the main place you would use them with **FastAPI**.
    
    ### Simple types { #simple-types }
    
    You can declare all the standard Python types, not only `str`.
    
    You can use, for example:
    
    * `int`
    * `float`
    * `bool`
    * `bytes`
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 17.1K bytes
    - Viewed (0)
  9. docs/es/docs/tutorial/security/simple-oauth2.md

    Normalmente se utilizan para declarar permisos de seguridad específicos, por ejemplo:
    
    * `users:read` o `users:write` son ejemplos comunes.
    * `instagram_basic` es usado por Facebook / Instagram.
    * `https://www.googleapis.com/auth/drive` es usado por Google.
    
    /// info | Información
    
    En OAuth2 un "scope" es solo un string que declara un permiso específico requerido.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Mon Dec 30 18:26:57 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  10. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ## 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.
    
    Registered: Sun Sep 07 07:19:17 UTC 2025
    - Last Modified: Sun Aug 31 09:15:41 UTC 2025
    - 7.8K bytes
    - Viewed (0)
Back to top