Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for 20 (0.15 sec)

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

    mas o OpenAPI 3.0.3 é baseado numa versão mais antiga do JSON Schema que não tinha `examples`.
    
    Por isso, o OpenAPI 3.0.3 definiu o seu próprio <a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#fixed-fields-20" class="external-link" target="_blank">`example`</a> para a versão modificada do **JSON Schema** que é usada, para o mesmo próposito (mas é apenas `example` no singular, não `examples`), e é isso que é usado pela UI da documentação da API(usando o Swagger...
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 6.1K bytes
    - Viewed (0)
  2. docs/ko/docs/tutorial/schema-extra-example.md

        {!> ../../../docs_src/schema_extra_example/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+ Annotated가 없는 경우"
    
        !!! tip "팁"
            가능하다면 `Annotated`가 달린 버전을 권장합니다.
    
        ```Python hl_lines="20-27"
        {!> ../../../docs_src/schema_extra_example/tutorial003.py!}
        ```
    
    ### 문서 UI 예시
    
    위의 어느 방법과 함께라면 `/docs`에서 다음과 같이 보일 것입니다:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Feb 09 12:35:46 GMT 2024
    - 13.6K bytes
    - Viewed (0)
  3. docs/ru/docs/tutorial/schema-extra-example.md

        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip Заметка
            Рекомендуется использовать версию с `Annotated`, если это возможно.
    
        ```Python hl_lines="20-25"
        {!> ../../../docs_src/schema_extra_example/tutorial003.py!}
        ```
    
    ### Аргумент "example" в UI документации
    
    С любым из вышеуказанных методов это будет выглядеть так в `/docs`:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/ja/docs/tutorial/schema-extra-example.md

    そのため、OpenAPIでは同じ目的のために<a href="https://github.com/OAI/OpenAPI-Specification/blob/master/versions/3.0.3.md#fixed-fields-20" class="external-link" target="_blank">`example`</a>を独自に定義しており(`examples`ではなく`example`として)、それがdocs UI(Swagger UIを使用)で使用されています。
    
    つまり、`example`はJSON Schemaの一部ではありませんが、OpenAPIの一部であり、それがdocs UIで使用されることになります。
    
    ## その他の情報
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. docs/zh/docs/tutorial/schema-extra-example.md

        ```Python hl_lines="18-23"
        {!> ../../../docs_src/schema_extra_example/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            尽可能选择使用 `Annotated` 的版本。
    
        ```Python hl_lines="20-25"
        {!> ../../../docs_src/schema_extra_example/tutorial003.py!}
        ```
    
    ## 文档 UI 中的例子
    
    使用上面的任何方法,它在 `/docs` 中看起来都是这样的:
    
    <img src="/img/tutorial/body-fields/image01.png">
    
    ## 技术细节
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/schema-extra-example.md

    * `Form()`
    * `File()`
    
    👆 💪 📣 💽 `example` ⚖️ 👪 `examples` ⏮️ 🌖 ℹ 👈 🔜 🚮 **🗄**.
    
    ### `Body` ⏮️ `example`
    
    📥 👥 🚶‍♀️ `example` 📊 ⌛ `Body()`:
    
    === "🐍 3️⃣.6️⃣ &amp; 🔛"
    
        ```Python hl_lines="20-25"
        {!> ../../../docs_src/schema_extra_example/tutorial003.py!}
        ```
    
    === "🐍 3️⃣.1️⃣0️⃣ &amp; 🔛"
    
        ```Python hl_lines="18-23"
        {!> ../../../docs_src/schema_extra_example/tutorial003_py310.py!}
        ```
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  7. docs/de/docs/tutorial/schema-extra-example.md

        ```
    
    === "Python 3.8+ nicht annotiert"
    
        !!! tip "Tipp"
            Bevorzugen Sie die `Annotated`-Version, falls möglich.
    
        ```Python hl_lines="20-27"
        {!> ../../../docs_src/schema_extra_example/tutorial003.py!}
        ```
    
    ### Beispiel in der Dokumentations-Benutzeroberfläche
    
    Mit jeder der oben genannten Methoden würde es in `/docs` so aussehen:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Sat Mar 30 20:19:53 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  8. docs/en/docs/tutorial/schema-extra-example.md

        {!> ../../../docs_src/schema_extra_example/tutorial003_py310.py!}
        ```
    
    === "Python 3.8+ non-Annotated"
    
        !!! tip
            Prefer to use the `Annotated` version if possible.
    
        ```Python hl_lines="20-27"
        {!> ../../../docs_src/schema_extra_example/tutorial003.py!}
        ```
    
    ### Example in the docs UI
    
    With any of the methods above it would look like this in the `/docs`:
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
Back to top