Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 912 for Examples (0.06 seconds)

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

    ## `examples` in JSON Schema - OpenAPI { #examples-in-json-schema-openapi }
    
    When using any of:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    you can also declare a group of `examples` with additional information that will be added to their **JSON Schemas** inside of **OpenAPI**.
    
    ### `Body` with `examples` { #body-with-examples }
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Thu Mar 05 18:13:19 GMT 2026
    - 8.7K bytes
    - Click Count (0)
  2. docs_src/schema_extra_example/tutorial002_py310.py

    from fastapi import FastAPI
    from pydantic import BaseModel, Field
    
    app = FastAPI()
    
    
    class Item(BaseModel):
        name: str = Field(examples=["Foo"])
        description: str | None = Field(default=None, examples=["A very nice Item"])
        price: float = Field(examples=[35.4])
        tax: float | None = Field(default=None, examples=[3.2])
    
    
    @app.put("/items/{item_id}")
    async def update_item(item_id: int, item: Item):
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jun 30 18:25:16 GMT 2023
    - 479 bytes
    - Click Count (0)
  3. docs/zh-hant/docs/tutorial/schema-extra-example.md

    ### OpenAPI 特定的 `examples` { #openapi-specific-examples }
    
    在 **JSON Schema** 支援 `examples` 之前,OpenAPI 就已支援另一個同名的欄位 `examples`。
    
    這個「OpenAPI 特定」的 `examples` 位於 OpenAPI 規範的另一個區塊:在每個「路徑操作」的詳細資訊中,而不是在各個 JSON Schema 內。
    
    而 Swagger UI 早已支援這個欄位,因此你可以用它在文件 UI 中顯示不同的範例。
    
    這個 OpenAPI 特定欄位 `examples` 的結構是一個包含「多個範例」的 `dict`(而非 `list`),每個範例都可包含會一併加入到 **OpenAPI** 的額外資訊。
    
    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)
  4. docs/zh/docs/tutorial/schema-extra-example.md

    ### OpenAPI 特定的 `examples` { #openapi-specific-examples }
    
    在 JSON Schema 支持 `examples` 之前,OpenAPI 就已支持一个同名但不同的字段 `examples`。
    
    这个面向 OpenAPI 的 `examples` 位于 OpenAPI 规范的另一处。它放在每个路径操作的详细信息中,而不是每个 JSON Schema 里。
    
    而 Swagger UI 早就支持这个特定的 `examples` 字段。因此,你可以用它在文档 UI 中展示不同的示例。
    
    这个 OpenAPI 特定字段 `examples` 的结构是一个包含多个示例的 `dict`(而不是一个 `list`),每个示例都包含会被添加到 OpenAPI 的额外信息。
    
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Mar 20 17:06:37 GMT 2026
    - 8.5K bytes
    - Click Count (0)
  5. .golangci.yml

        paths:
          - third_party$
          - builtin$
          - examples$
    issues:
      max-issues-per-linter: 100
      max-same-issues: 100
    formatters:
      enable:
        - gofumpt
        - goimports
      exclusions:
        generated: lax
        paths:
          - third_party$
          - builtin$
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Sun Mar 30 00:56:02 GMT 2025
    - 1.2K bytes
    - Click Count (0)
  6. docs/extensions/s3zip/README.md

    ## Code Examples
    
    [Using minio-go library](https://github.com/minio/minio/blob/master/docs/extensions/s3zip/examples/minio-go/main.go)
    [Using AWS JS SDK v2](https://github.com/minio/minio/blob/master/docs/extensions/s3zip/examples/aws-js/main.js)
    [Using boto3](https://github.com/minio/minio/blob/master/docs/extensions/s3zip/examples/boto3/main.py)
    
    ## Requirements and limits
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Wed Apr 10 16:28:27 GMT 2024
    - 3K bytes
    - Click Count (0)
  7. src/main/java/jcifs/smb1/smb1/SmbNamedPipe.java

     * flags is necessary to distinguish which type of Named Pipe behavior
     * is desired.
     *
     * <table border="1">
     * <caption>SmbNamedPipe Constructor Examples</caption>
     * <tr>
     * <td colspan="2"><b><code>SmbNamedPipe</code> Constructor Examples</b></td>
     * <tr><td ><b>Code Sample</b></td><td><b>Description</b></td></tr>
     * <tr><td ><pre>
     * new SmbNamedPipe( "smb1://server/IPC$/PIPE/foo",
    Created: Sun Apr 05 00:10:12 GMT 2026
    - Last Modified: Sat Aug 16 01:32:48 GMT 2025
    - 8.5K bytes
    - Click Count (0)
  8. CODE_OF_CONDUCT.md

    nationality, personal appearance, race, religion, or sexual identity
    and orientation.
    
    We pledge to act and interact in ways that contribute to an open, welcoming,
    diverse, inclusive, and healthy community.
    
    ## Our Standards
    
    Examples of behavior that contributes to a positive environment for our
    community includes:
    
    * Demonstrating empathy and kindness toward other people
    * Being respectful of differing opinions, viewpoints, and experiences
    Created: Sun Apr 05 09:35:12 GMT 2026
    - Last Modified: Thu Oct 17 06:18:13 GMT 2024
    - 5K bytes
    - Click Count (0)
  9. docs/fr/llm-prompt.md

    ### Quotes
    
    - Convert neutral double quotes (`"`) to French guillemets (`«` and `»`).
    
    - Do not convert quotes inside code blocks, inline code, paths, URLs, or anything wrapped in backticks.
    
    Examples:
    
    Source (English):
    
    ```
    "Hello world"
    “Hello Universe”
    "He said: 'Hello'"
    "The module is `__main__`"
    ```
    
    Result (French):
    
    ```
    "Hello world"
    “Hello Universe”
    "He said: 'Hello'"
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Fri Jan 16 11:57:08 GMT 2026
    - 3.6K bytes
    - Click Count (0)
  10. code_of_conduct.md

    orientation.
    
    ## Our Standards
    
    Examples of behavior that contributes to creating a positive environment
    include:
    
    * Using welcoming and inclusive language
    * Being respectful of differing viewpoints and experiences
    * Gracefully accepting constructive criticism
    * Focusing on what is best for the community
    * Showing empathy towards other community members
    
    Examples of unacceptable behavior by participants include:
    
    Created: Sun Apr 05 19:28:12 GMT 2026
    - Last Modified: Mon Jan 20 18:38:58 GMT 2020
    - 3.5K bytes
    - Click Count (0)
Back to Top