Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 727 for openapi (0.04 sec)

  1. docs/pt/docs/tutorial/first-steps.md

    #### OpenAPI e JSON *Schema*
    
    OpenAPI define um *schema* de API para sua API. E esse *schema* inclui definições (ou "*schemas*") dos dados enviados e recebidos por sua API usando **JSON *Schema***, o padrão para *schemas* de dados JSON.
    
    #### Verifique o `openapi.json`
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 9.6K bytes
    - Viewed (0)
  2. docs_src/extending_openapi/tutorial001.py

    from fastapi import FastAPI
    from fastapi.openapi.utils import get_openapi
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items():
        return [{"name": "Foo"}]
    
    
    def custom_openapi():
        if app.openapi_schema:
            return app.openapi_schema
        openapi_schema = get_openapi(
            title="Custom title",
            version="2.5.0",
            summary="This is a very custom OpenAPI schema",
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jun 30 18:25:16 UTC 2023
    - 737 bytes
    - Viewed (0)
  3. docs/en/docs/advanced/generate-clients.md

    A common tool is <a href="https://openapi-generator.tech/" class="external-link" target="_blank">OpenAPI Generator</a>.
    
    If you are building a **frontend**, a very interesting alternative is <a href="https://github.com/hey-api/openapi-ts" class="external-link" target="_blank">openapi-ts</a>.
    
    ## Client and SDK Generators - Sponsor
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  4. docs/en/mkdocs.yml

          advanced/graphql.md: how-to/graphql.md
          advanced/custom-request-and-route.md: how-to/custom-request-and-route.md
          advanced/conditional-openapi.md: how-to/conditional-openapi.md
          advanced/extending-openapi.md: how-to/extending-openapi.md
          advanced/testing-database.md: how-to/testing-database.md
      mkdocstrings:
        handlers:
          python:
            options:
              extensions:
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 22 20:28:02 UTC 2024
    - 10.4K bytes
    - Viewed (0)
  5. docs/pt/docs/tutorial/schema-extra-example.md

    Mas quando você usa `example` ou `examples` com qualquer um dos outros utilitários (`Query()`, `Body()`, etc.) esses exemplos não são adicionados ao JSON Schema que descreve esses dados (nem mesmo para versão própria do OpenAPI do JSON Schema), eles são adicionados diretamente à declaração da *operação de rota* no OpenAPI (fora das partes do OpenAPI que usam o JSON Schema).
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 6.1K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/metadata.md

    ## OpenAPI URL
    
    By default, the OpenAPI schema is served at `/openapi.json`.
    
    But you can configure it with the parameter `openapi_url`.
    
    For example, to set it to be served at `/api/v1/openapi.json`:
    
    ```Python hl_lines="3"
    {!../../docs_src/metadata/tutorial002.py!}
    ```
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 5.8K bytes
    - Viewed (0)
  7. docs/pt/docs/how-to/general.md

    ## OpenAPI Metadata - Docs
    
    Para adicionar metadados ao seu esquema OpenAPI, incluindo  licensa, versão, contato, etc, leia a seção [Tutorial - Metadata and Docs URLs](../tutorial/metadata.md){.internal-link target=_blank}.
    
    ## OpenAPI com URL customizada
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Jul 12 02:41:15 UTC 2024
    - 2.4K bytes
    - Viewed (0)
  8. docs/zh/docs/tutorial/first-steps.md

    ### OpenAPI
    
    **FastAPI** 使用定义 API 的 **OpenAPI** 标准将你的所有 API 转换成「模式」。
    
    #### 「模式」
    
    「模式」是对事物的一种定义或描述。它并非具体的实现代码,而只是抽象的描述。
    
    #### API「模式」
    
    在这种场景下,OpenAPI 是一种规定如何定义 API 模式的规范。
    
    定义的 OpenAPI 模式将包括你的 API 路径,以及它们可能使用的参数等等。
    
    #### 数据「模式」
    
    「模式」这个术语也可能指的是某些数据比如 JSON 的结构。
    
    在这种情况下,它可以表示 JSON 的属性及其具有的数据类型,等等。
    
    #### OpenAPI 和 JSON Schema
    
    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/de/docs/how-to/general.md

    ## OpenAPI-Metadaten – Dokumentation
    
    Um Metadaten zu Ihrem OpenAPI-Schema hinzuzufügen, einschließlich einer Lizenz, Version, Kontakt, usw., lesen Sie die Dokumentation unter [Tutorial – Metadaten und URLs der Dokumentationen](../tutorial/metadata.md){.internal-link target=_blank}.
    
    ## Benutzerdefinierte OpenAPI-URL
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Mar 30 18:18:42 UTC 2024
    - 2.9K bytes
    - Viewed (0)
  10. fastapi/routing.py

                Doc(
                    """
                    OpenAPI callbacks that should apply to all *path operations* in this
                    router.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more about it in the
                    [FastAPI docs for OpenAPI Callbacks](https://fastapi.tiangolo.com/advanced/openapi-callbacks/).
                    """
                ),
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Oct 12 09:44:57 UTC 2024
    - 172.1K bytes
    - Viewed (0)
Back to top