Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 131 - 140 of 154 for mrkdwn (0.14 seconds)

  1. docs/pt/docs/tutorial/schema-extra-example.md

    Cada `dict` de exemplo específico em `examples` pode conter:
    
    * `summary`: Descrição curta do exemplo.
    * `description`: Uma descrição longa que pode conter texto em Markdown.
    * `value`: Este é o exemplo em si, por exemplo, um `dict`.
    * `externalValue`: Alternativa a `value`, uma URL apontando para o exemplo. Embora isso possa não ser suportado por tantas ferramentas quanto `value`.
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:20:43 GMT 2026
    - 9.5K bytes
    - Click Count (0)
  2. docs/fr/docs/index.md

    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Ou utilisez <code>async def</code>...</summary>
    
    Si votre code utilise `async` / `await`, utilisez `async def` :
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 19 18:37:13 GMT 2026
    - 23.8K bytes
    - Click Count (0)
  3. docs/zh/docs/index.md

    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>或者使用 <code>async def</code>...</summary>
    
    如果你的代码里会用到 `async` / `await`,请使用 `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 20.7K bytes
    - Click Count (0)
  4. android/guava/src/com/google/common/net/MediaType.java

      /**
       * As described in <a href="https://www.rfc-editor.org/rfc/rfc7763.html">RFC 7763</a>, this
       * constant ({@code text/markdown}) is used for Markdown documents.
       *
       * @since 33.3.0
       */
      public static final MediaType MD_UTF_8 = createConstantUtf8(TEXT_TYPE, "markdown");
    
      public static final MediaType PLAIN_TEXT_UTF_8 = createConstantUtf8(TEXT_TYPE, "plain");
    
      /**
    Created: Fri Apr 03 12:43:13 GMT 2026
    - Last Modified: Thu Oct 02 01:46:40 GMT 2025
    - 48K bytes
    - Click Count (0)
  5. docs/zh-hant/docs/tutorial/schema-extra-example.md

    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    該 `dict` 的鍵用來識別各個範例,而每個值則是另一個 `dict`。
    
    在 `examples` 中,每個範例的 `dict` 可以包含:
    
    * `summary`:範例的簡短描述。
    * `description`:較長的描述,可包含 Markdown 文字。
    * `value`:實際顯示的範例,例如一個 `dict`。
    * `externalValue`:`value` 的替代方案,為指向範例的 URL。儘管這可能不如 `value` 被工具廣泛支援。
    
    你可以這樣使用:
    
    {* ../../docs_src/schema_extra_example/tutorial005_an_py310.py hl[23:49] *}
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 8.4K bytes
    - Click Count (0)
  6. fastapi/applications.py

                    """
                ),
            ] = None,
            description: Annotated[
                str,
                Doc(
                    '''
                    A description of the API. Supports Markdown (using
                    [CommonMark syntax](https://commonmark.org/)).
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more in the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Wed Apr 01 16:16:24 GMT 2026
    - 178.6K bytes
    - Click Count (0)
  7. README.md

    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>Or use <code>async def</code>...</summary>
    
    If your code uses `async` / `await`, use `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sat Mar 07 09:29:03 GMT 2026
    - 24.3K bytes
    - Click Count (0)
  8. docs/zh-hant/docs/index.md

    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>或使用 <code>async def</code>...</summary>
    
    如果你的程式碼使用 `async` / `await`,請使用 `async def`:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    @app.get("/")
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:05:38 GMT 2026
    - 20.8K bytes
    - Click Count (0)
  9. docs/ko/docs/index.md

    @app.get("/")
    def read_root():
        return {"Hello": "World"}
    
    
    @app.get("/items/{item_id}")
    def read_item(item_id: int, q: str | None = None):
        return {"item_id": item_id, "q": q}
    ```
    
    <details markdown="1">
    <summary>또는 <code>async def</code> 사용하기...</summary>
    
    여러분의 코드가 `async` / `await`을 사용한다면, `async def`를 사용하십시오:
    
    ```Python hl_lines="7  12"
    from fastapi import FastAPI
    
    app = FastAPI()
    
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 14:06:26 GMT 2026
    - 23.4K bytes
    - Click Count (0)
  10. fastapi/routing.py

                    If not provided, it will be extracted automatically from the docstring
                    of the *path operation function*.
    
                    It can contain Markdown.
    
                    It will be added to the generated OpenAPI (e.g. visible at `/docs`).
    
                    Read more about it in the
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Mar 15 11:44:39 GMT 2026
    - 193K bytes
    - Click Count (0)
Back to Top