Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 1,182 for Example (0.12 sec)

  1. src/go/doc/example.go

    //     or Foo (with a "bar" suffix).
    //
    // Examples with malformed names are not associated with anything.
    func classifyExamples(p *Package, examples []*Example) {
    	if len(examples) == 0 {
    		return
    	}
    	// Mapping of names for funcs, types, and methods to the example listing.
    	ids := make(map[string]*[]*Example)
    	ids[""] = &p.Examples // package-level examples have an empty name
    	for _, f := range p.Funcs {
    Registered: Wed Jun 12 16:32:35 UTC 2024
    - Last Modified: Thu May 23 01:00:11 UTC 2024
    - 21.4K bytes
    - Viewed (0)
  2. docs/ru/docs/tutorial/schema-extra-example.md

    Итак, хотя поле `example` не является частью JSON-схемы, оно является частью настраиваемой версии JSON-схемы в OpenAPI, и именно это поле будет использоваться в UI документации.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Mar 22 01:42:11 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs/de/docs/tutorial/schema-extra-example.md

    Vor OpenAPI 3.1.0 verwendete OpenAPI eine ältere und modifizierte Version von **JSON Schema**.
    
    JSON Schema hatte keine `examples`, daher fügte OpenAPI seiner eigenen modifizierten Version ein eigenes `example`-Feld hinzu.
    
    OpenAPI fügte auch die Felder `example` und `examples` zu anderen Teilen der Spezifikation hinzu:
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Mar 30 20:19:53 UTC 2024
    - 13.3K bytes
    - Viewed (0)
  4. docs/ko/docs/tutorial/schema-extra-example.md

    ### OpenAPI-특화 `examples`
    
    **JSON 스키마**가 `examples`를 지원하기 전 부터, OpenAPI는 `examples`이라 불리는 다른 필드를 지원해 왔습니다.
    
    이 **OpenAPI-특화** `examples`는 OpenAPI 명세서의 다른 구역으로 들어갑니다. 각 JSON 스키마 내부가 아니라 **각 *경로 작동* 세부 정보**에 포함됩니다.
    
    그리고 Swagger UI는 이 특정한 `examples` 필드를 한동안 지원했습니다. 그래서, 이를 다른 **문서 UI에 있는 예제**를 **표시**하기 위해 사용할 수 있습니다.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Feb 09 12:35:46 UTC 2024
    - 13.6K bytes
    - Viewed (0)
  5. docs/en/docs/tutorial/schema-extra-example.md

        You can read more at the end of this page.
    
    ## `Field` additional arguments
    
    When using `Field()` with Pydantic models, you can also declare additional `examples`:
    
    === "Python 3.10+"
    
        ```Python hl_lines="2  8-11"
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 11.8K bytes
    - Viewed (0)
  6. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r26/TestLauncherCrossVersionSpec.groovy

            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":test")
            assertTestExecuted(className: "example.MyTest", methodName: "foo", task: ":secondTest")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":test")
            assertTestExecuted(className: "example.MyTest", methodName: "foo2", task: ":secondTest")
            if (supportsEfficientClassFiltering()) {
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Wed Mar 06 06:59:43 UTC 2024
    - 22.6K bytes
    - Viewed (0)
  7. platforms/ide/tooling-api/src/crossVersionTest/groovy/org/gradle/integtests/tooling/r27/TestLauncherCrossVersionSpec.groovy

            assertTestExecuted(className: "example.MyFailingTest", methodName: "fail2", task: ":secondTest")
            def e = thrown(TestExecutionException)
            normaliseLineSeparators(e.cause.message) == """Test failed.
        Failed tests:
            Test example.MyFailingTest#fail (Task: :secondTest)
            Test example.MyFailingTest#fail2 (Task: :secondTest)
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Thu May 16 10:10:39 UTC 2024
    - 10.9K bytes
    - Viewed (0)
  8. platforms/jvm/plugins-java/src/integTest/groovy/org/gradle/api/plugins/JavaPluginIntegrationTest.groovy

                    destinationDirectory = file("build/classes/custom")
                    classpath = files()
                }
    
                sourceSets.main.output.classesDirs.from(taskProvider.flatMap(it -> it.getDestinationDirectory()))
            """
            file("src/custom/java/com/example/Example.java") << """
                package com.example;
                public class Example {}
    Registered: Wed Jun 12 18:38:38 UTC 2024
    - Last Modified: Mon Jan 29 11:39:00 UTC 2024
    - 19.6K bytes
    - Viewed (0)
  9. staging/src/k8s.io/apimachinery/pkg/runtime/serializer/cbor/internal/modes/appendixa_test.go

    		fixme string
    	}{
    		{
    			example: hex("00"),
    			decoded: int64(0),
    		},
    		{
    			example: hex("01"),
    			decoded: int64(1),
    		},
    		{
    			example: hex("0a"),
    			decoded: int64(10),
    		},
    		{
    			example: hex("17"),
    			decoded: int64(23),
    		},
    		{
    			example: hex("1818"),
    			decoded: int64(24),
    		},
    		{
    			example: hex("1819"),
    			decoded: int64(25),
    		},
    		{
    Registered: Sat Jun 15 01:39:40 UTC 2024
    - Last Modified: Thu Feb 15 18:59:36 UTC 2024
    - 15.8K bytes
    - Viewed (0)
  10. 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: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:40:57 UTC 2024
    - 27.5K bytes
    - Viewed (0)
Back to top