Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 9 of 9 for include_in_schema (0.13 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. docs_src/custom_docs_ui/tutorial001_py39.py

            swagger_css_url="https://unpkg.com/swagger-ui-dist@5/swagger-ui.css",
        )
    
    
    @app.get(app.swagger_ui_oauth2_redirect_url, include_in_schema=False)
    async def swagger_ui_redirect():
        return get_swagger_ui_oauth2_redirect_html()
    
    
    @app.get("/redoc", include_in_schema=False)
    async def redoc_html():
        return get_redoc_html(
            openapi_url=app.openapi_url,
            title=app.title + " - ReDoc",
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  2. docs_src/query_params_str_validations/tutorial014_an_py39.py

    from typing import Annotated, Union
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        hidden_query: Annotated[Union[str, None], Query(include_in_schema=False)] = None,
    ):
        if hidden_query:
            return {"hidden_query": hidden_query}
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 344 bytes
    - Click Count (0)
  3. docs_src/query_params_str_validations/tutorial014_py310.py

    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        hidden_query: str | None = Query(default=None, include_in_schema=False),
    ):
        if hidden_query:
            return {"hidden_query": hidden_query}
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 298 bytes
    - Click Count (0)
  4. docs_src/query_params_str_validations/tutorial014_an_py310.py

    from typing import Annotated
    
    from fastapi import FastAPI, Query
    
    app = FastAPI()
    
    
    @app.get("/items/")
    async def read_items(
        hidden_query: Annotated[str | None, Query(include_in_schema=False)] = None,
    ):
        if hidden_query:
            return {"hidden_query": hidden_query}
        else:
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Tue Mar 26 16:56:53 GMT 2024
    - 331 bytes
    - Click Count (0)
  5. docs/zh/docs/advanced/path-operation-advanced-configuration.md

    /// tip
    
    如果你手动调用 `app.openapi()`,你应该在此之前更新 `operationId`。
    
    ///
    
    /// warning
    
    如果你这样做,务必确保你的每个 *路径操作函数* 的名字唯一。
    
    即使它们在不同的模块中(Python 文件)。
    
    ///
    
    ## 从 OpenAPI 中排除
    
    使用参数 `include_in_schema` 并将其设置为 `False` ,来从生成的 OpenAPI 方案中排除一个 *路径操作*(这样一来,就从自动化文档系统中排除掉了)。
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial003.py hl[6] *}
    
    ## docstring 的高级描述
    
    你可以限制 *路径操作函数* 的 `docstring` 中用于 OpenAPI 的行数。
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  6. docs/ja/docs/advanced/path-operation-advanced-configuration.md

    /// warning | 注意
    
    この方法をとる場合、各 *path operation関数* が一意な名前である必要があります。
    
    それらが異なるモジュール (Pythonファイル) にあるとしてもです。
    
    ///
    
    ## OpenAPIから除外する
    
    生成されるOpenAPIスキーマ (つまり、自動ドキュメント生成の仕組み) から *path operation* を除外するには、 `include_in_schema` パラメータを `False` にします。
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial003.py hl[6] *}
    
    ## docstringによる説明の高度な設定
    
    *path operation関数* のdocstringからOpenAPIに使用する行を制限することができます。
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Mon Nov 18 02:25:44 GMT 2024
    - 2.2K bytes
    - Click Count (0)
  7. docs/en/docs/advanced/path-operation-advanced-configuration.md

    ///
    
    ## Exclude from OpenAPI { #exclude-from-openapi }
    
    To exclude a *path operation* from the generated OpenAPI schema (and thus, from the automatic documentation systems), use the parameter `include_in_schema` and set it to `False`:
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial003_py39.py hl[6] *}
    
    ## Advanced description from docstring { #advanced-description-from-docstring }
    
    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)
  8. docs/de/docs/advanced/path-operation-advanced-configuration.md

    ///
    
    ## Von OpenAPI ausschließen { #exclude-from-openapi }
    
    Um eine *Pfadoperation* aus dem generierten OpenAPI-Schema (und damit aus den automatischen Dokumentationssystemen) auszuschließen, verwenden Sie den Parameter `include_in_schema` und setzen Sie ihn auf `False`:
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial003_py39.py hl[6] *}
    
    ## Fortgeschrittene Beschreibung mittels Docstring { #advanced-description-from-docstring }
    
    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

    ///
    
    ## Exclusion d'OpenAPI
    
    Pour exclure un *chemin* du schéma OpenAPI généré (et donc des systèmes de documentation automatiques), utilisez le paramètre `include_in_schema` et assignez-lui la valeur `False` :
    
    {* ../../docs_src/path_operation_advanced_configuration/tutorial003.py hl[6] *}
    
    ## Description avancée de docstring
    
    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)
Back to Top