Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 407 for example (0.24 sec)

  1. src/bytes/example_test.go

    cui fliter <******@****.***> 1709194171 +0800
    Go
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Mon Mar 04 15:54:40 GMT 2024
    - 15K bytes
    - Viewed (1)
  2. docs/ko/docs/tutorial/schema-extra-example.md

    !!! info "정보"
        (FastAPI 0.99.0부터 쓰이기 시작한) OpenAPI 3.1.0은 **JSON 스키마** 표준의 일부인 `examples`에 대한 지원을 추가했습니다.
    
        그 전에는, 하나의 예제만 가능한 `example` 키워드만 지원했습니다. 이는 아직 OpenAPI 3.1.0에서 지원하지만, 지원이 종료될 것이며 JSON 스키마 표준에 포함되지 않습니다. 그렇기에 `example`을 `examples`으로 이전하는 것을 추천합니다. 🤓
    
        이 문서 끝에 더 많은 읽을거리가 있습니다.
    
    ## `Field` 추가 인자
    
    Pydantic 모델과 같이 `Field()`를 사용할 때 추가적인 `examples`를 선언할 수 있습니다:
    
    === "Python 3.10+"
    
        ```Python hl_lines="2  8-11"
    Plain Text
    - Registered: Sun May 05 07:19:11 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

    Итак, хотя поле `example` не является частью JSON-схемы, оно является частью настраиваемой версии JSON-схемы в OpenAPI, и именно это поле будет использоваться в UI документации.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 11.6K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/schema-extra-example.md

    ### Using the `openapi_examples` Parameter
    
    You can declare the OpenAPI-specific `examples` in FastAPI with the parameter `openapi_examples` for:
    
    * `Path()`
    * `Query()`
    * `Header()`
    * `Cookie()`
    * `Body()`
    * `Form()`
    * `File()`
    
    The keys of the `dict` identify each example, and each value is another `dict`.
    
    Each specific example `dict` in the `examples` can contain:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 11.8K bytes
    - Viewed (0)
  5. docs/de/docs/tutorial/schema-extra-example.md

    === "Python 3.10+"
    
        ```Python hl_lines="2  8-11"
        {!> ../../../docs_src/schema_extra_example/tutorial002_py310.py!}
        ```
    
    === "Python 3.8+"
    
        ```Python hl_lines="4  10-13"
        {!> ../../../docs_src/schema_extra_example/tutorial002.py!}
        ```
    
    ## `examples` im JSON-Schema – OpenAPI
    
    Bei Verwendung von:
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 20:19:53 GMT 2024
    - 13.3K bytes
    - Viewed (0)
  6. fastapi/params.py

            **extra: Any,
        ):
            if example is not _Unset:
                warnings.warn(
                    "`example` has been deprecated, please use `examples` instead",
                    category=DeprecationWarning,
                    stacklevel=4,
                )
            self.example = example
            self.include_in_schema = include_in_schema
            self.openapi_examples = openapi_examples
            kwargs = dict(
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  7. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    madeupscheme:/example.com/  s:madeupscheme p:/example.com/
    file:/example.com/  s:file p:/example.com/
    ftps:/example.com/  s:ftps p:/example.com/
    gopher:/example.com/  s:gopher h:example.com p:/
    ws:/example.com/  s:ws h:example.com p:/
    wss:/example.com/  s:wss h:example.com p:/
    data:/example.com/  s:data p:/example.com/
    javascript:/example.com/  s:javascript p:/example.com/
    mailto:/example.com/  s:mailto p:/example.com/
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  8. src/test/java/org/codelibs/fess/crawler/transformer/FessXpathTransformerTest.java

            data = "<img src=\"http://example/foo.jpg\">" //
                    + "<img src=\"http://example/bar.jpg\">";
            expected = "http://example/foo.jpg";
            assertGetThumbnailUrl(data, expected);
    
            data = "<img src=\"http://example/foo.jpg\">" //
                    + "<img src=\"http://example/bar.jpg\" width=\"100\" height=\"100\">";
            expected = "http://example/bar.jpg";
            assertGetThumbnailUrl(data, expected);
    
    Java
    - Registered: Mon May 06 08:04:11 GMT 2024
    - Last Modified: Thu Feb 22 01:37:57 GMT 2024
    - 38.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/internal/publicsuffix/PublicSuffixDatabaseTest.kt

        checkPublicSuffix("example.com", "example.com")
        checkPublicSuffix("b.example.com", "example.com")
        checkPublicSuffix("a.b.example.com", "example.com")
        checkPublicSuffix("uk.com", null)
        checkPublicSuffix("example.uk.com", "example.uk.com")
        checkPublicSuffix("b.example.uk.com", "example.uk.com")
        checkPublicSuffix("a.b.example.uk.com", "example.uk.com")
        checkPublicSuffix("test.ac", "test.ac")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CertificatePinnerTest.kt

        assertEquals("**.example.co.uk", pin.pattern)
        Assertions.assertTrue(pin.matchesHostname("www.example.co.uk"))
        Assertions.assertTrue(pin.matchesHostname("gopher.example.co.uk"))
        Assertions.assertFalse(pin.matchesHostname("www.example.com"))
      }
    
      @Test
      fun testMatchesSha256() {
        val pin = CertificatePinner.Pin("example.com", certA1Sha256Pin)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top