Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 527 for example1 (0.1 sec)

  1. tests/test_openapi_examples.py

        data: str
    
    
    @app.post("/examples/")
    def examples(
        item: Item = Body(
            examples=[
                {"data": "Data in Body examples, example1"},
            ],
            openapi_examples={
                "Example One": {
                    "summary": "Example One Summary",
                    "description": "Example One Description",
                    "value": {"data": "Data in Body examples, example1"},
                },
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 15:57:43 UTC 2024
    - 17.7K bytes
    - Viewed (0)
  2. tests/test_schema_extra_examples.py

                return item
    
        @app.post("/examples/")
        def examples(
            item: Item = Body(
                examples=[
                    {"data": "Data in Body examples, example1"},
                    {"data": "Data in Body examples, example2"},
                ],
            ),
        ):
            return item
    
        with pytest.warns(DeprecationWarning):
    
            @app.post("/example_examples/")
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Oct 24 20:26:06 UTC 2023
    - 37.7K bytes
    - Viewed (0)
  3. 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);
    
    Registered: Thu Oct 31 13:40:30 UTC 2024
    - Last Modified: Thu Oct 24 13:01:38 UTC 2024
    - 41.3K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/schema-extra-example.md

    This **OpenAPI-specific** `examples` goes in another section in the OpenAPI specification. It goes in the **details for each *path operation***, not inside each JSON Schema.
    
    And Swagger UI has supported this particular `examples` field for a while. So, you can use it to **show** different **examples in the docs UI**.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  5. docs/ru/docs/tutorial/schema-extra-example.md

    Итак, хотя поле `example` не является частью JSON-схемы, оно является частью настраиваемой версии JSON-схемы в OpenAPI, и именно это поле будет использоваться в UI документации.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 11.5K bytes
    - Viewed (0)
  6. docs/de/docs/tutorial/schema-extra-example.md

    ### OpenAPI-spezifische `examples`
    
    Schon bevor **JSON Schema** `examples` unterstützte, unterstützte OpenAPI ein anderes Feld, das auch `examples` genannt wurde.
    
    Diese **OpenAPI-spezifischen** `examples` finden sich in einem anderen Abschnitt der OpenAPI-Spezifikation. Sie sind **Details für jede *Pfadoperation***, nicht für jedes JSON-Schema.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.2K bytes
    - Viewed (0)
  7. docs/ko/docs/tutorial/schema-extra-example.md

    ### OpenAPI-특화 `examples`
    
    **JSON 스키마**가 `examples`를 지원하기 전 부터, OpenAPI는 `examples`이라 불리는 다른 필드를 지원해 왔습니다.
    
    이 **OpenAPI-특화** `examples`는 OpenAPI 명세서의 다른 구역으로 들어갑니다. 각 JSON 스키마 내부가 아니라 **각 *경로 작동* 세부 정보**에 포함됩니다.
    
    그리고 Swagger UI는 이 특정한 `examples` 필드를 한동안 지원했습니다. 그래서, 이를 다른 **문서 UI에 있는 예제**를 **표시**하기 위해 사용할 수 있습니다.
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 13.5K bytes
    - Viewed (0)
  8. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http::b@www.example.com  s:http pass:b h:www.example.com p:/
    http:/:b@www.example.com  s:http pass:b h:www.example.com p:/
    http://:b@www.example.com  s:http pass:b h:www.example.com p:/
    http:/:@/www.example.com
    http://user@/www.example.com
    http:@/www.example.com
    http:/@/www.example.com
    http://@/www.example.com
    https:@/www.example.com
    http:a:b@/www.example.com
    http:/a:b@/www.example.com
    http://a:b@/www.example.com
    http::@/www.example.com
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Dec 20 23:27:07 UTC 2023
    - 14.3K bytes
    - Viewed (0)
  9. 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
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Sep 06 18:06:20 UTC 2024
    - 27.5K bytes
    - Viewed (0)
  10. docs/en/docs/deployment/concepts.md

    ### Example Tools to Run at Startup
    
    Some examples of the tools that can do this job are:
    
    * Docker
    * Kubernetes
    * Docker Compose
    * Docker in Swarm Mode
    * Systemd
    * Supervisor
    * Handled internally by a cloud provider as part of their services
    * Others...
    
    I'll give you more concrete examples in the next chapters.
    
    ## Restarts
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Wed Sep 18 16:09:57 UTC 2024
    - 17.8K bytes
    - Viewed (0)
Back to top