Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 34 for interfaces (0.07 sec)

  1. docs/en/docs/tutorial/metadata.md

    {!../../docs_src/metadata/tutorial002.py!}
    ```
    
    If you want to disable the OpenAPI schema completely you can set `openapi_url=None`, that will also disable the documentation user interfaces that use it.
    
    ## Docs URLs
    
    You can configure the two documentation user interfaces included:
    
    * **Swagger UI**: served at `/docs`.
        * You can set its URL with the parameter `docs_url`.
        * You can disable it by setting `docs_url=None`.
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  2. docs/pt/docs/how-to/conditional-openapi.md

    Por exemplo:
    
    ```Python hl_lines="6  11"
    {!../../docs_src/conditional_openapi/tutorial001.py!}
    ```
    
    Aqui declaramos a configuração `openapi_url` com o mesmo padrão de `"/openapi.json"`.
    
    E então o usamos ao criar o aplicativo `FastAPI`.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  3. docs/pt/docs/advanced/sub-applications.md

    # Sub Aplicações - Montagens
    
    Se você precisar ter duas aplicações FastAPI independentes, cada uma com seu próprio OpenAPI e suas próprias interfaces de documentação, você pode ter um aplicativo principal e "montar" uma (ou mais) sub-aplicações.
    
    ## Montando uma aplicação **FastAPI**
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 3.2K bytes
    - Viewed (0)
  4. docs/pt/docs/tutorial/response-status-code.md

    ///
    
    Dessa forma:
    
    * Este código de status será retornado na resposta.
    * Será documentado como tal no esquema OpenAPI (e, portanto, nas interfaces do usuário):
    
    <img src="/img/tutorial/response-status-code/image01.png">
    
    /// note | "Nota"
    
    Alguns códigos de resposta (consulte a próxima seção) indicam que a resposta não possui um corpo.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  5. 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Mon Oct 28 11:13:18 UTC 2024
    - 3.9K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/path-operation-configuration.md

    //// tab | Python 3.8+
    
    ```Python hl_lines="17  22  27"
    {!> ../../docs_src/path_operation_configuration/tutorial002.py!}
    ```
    
    ////
    
    They will be added to the OpenAPI schema and used by the automatic documentation interfaces:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Tags with Enums
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  7. docs/en/docs/tutorial/body.md

    * Those schemas will be part of the generated OpenAPI schema, and used by the automatic documentation <abbr title="User Interfaces">UIs</abbr>.
    
    ## Automatic docs
    
    The JSON Schemas of your models will be part of your OpenAPI generated schema, and will be shown in the interactive API docs:
    
    <img src="/img/tutorial/body/image01.png">
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 27 16:58:19 UTC 2024
    - 6.6K bytes
    - Viewed (0)
  8. docs/es/docs/python-types.md

    * **Validar datos**: viniendo de cada request:
        * Generando **errores automáticos** devueltos al cliente cuando los datos son inválidos.
    * **Documentar** la API usando OpenAPI:
        * que en su caso es usada por las interfaces de usuario de la documentación automática e interactiva.
    
    Puede que todo esto suene abstracto. Pero no te preocupes que todo lo verás en acción en el [Tutorial - User Guide](tutorial/index.md){.internal-link target=_blank}.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.1K bytes
    - Viewed (0)
  9. docs/ja/docs/tutorial/body.md

    * モデルの<a href="http://json-schema.org" class="external-link" target="_blank">JSONスキーマ</a>定義を生成し、好きな場所で使用することができます。
    * これらのスキーマは、生成されたOpenAPIスキーマの一部となり、自動ドキュメントの<abbr title = "User Interfaces">UI</abbr>に使用されます。
    
    ## 自動ドキュメント生成
    
    モデルのJSONスキーマはOpenAPIで生成されたスキーマの一部になり、対話的なAPIドキュメントに表示されます:
    
    <img src="/img/tutorial/body/image01.png">
    
    そして、それらが使われる *パスオペレーション* のそれぞれのAPIドキュメントにも表示されます:
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 7.9K bytes
    - Viewed (0)
  10. docs/pt/docs/tutorial/path-operation-configuration.md

    //// tab | Python 3.10 and above
    
    ```Python hl_lines="15  20  25"
    {!> ../../docs_src/path_operation_configuration/tutorial002_py310.py!}
    ```
    
    ////
    
    Eles serão adicionados ao esquema OpenAPI e usados pelas interfaces de documentação automática:
    
    <img src="/img/tutorial/path-operation-configuration/image01.png">
    
    ### Tags com Enums
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.9K bytes
    - Viewed (0)
Back to top