Search Options

Results per page
Sort
Preferred Languages
Advance

Results 621 - 630 of 1,781 for Source (0.07 sec)

  1. docs/zh/docs/how-to/configure-swagger-ui.md

    # 配置 Swagger UI
    
    你可以配置一些额外的 <a href="https://swagger.io/docs/open-source-tools/swagger-ui/usage/configuration/" class="external-link" target="_blank">Swagger UI 参数</a>.
    
    如果需要配置它们,可以在创建 `FastAPI()` 应用对象时或调用 `get_swagger_ui_html()` 函数时传递 `swagger_ui_parameters` 参数。
    
    `swagger_ui_parameters` 接受一个直接传递给 Swagger UI的字典,包含配置参数键值对。
    
    FastAPI会将这些配置转换为 **JSON**,使其与 JavaScript 兼容,因为这是 Swagger UI 需要的。
    
    ## 不使用语法高亮
    
    比如,你可以禁用 Swagger UI 中的语法高亮。
    
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Sun Oct 06 20:36:54 UTC 2024
    - 2.6K bytes
    - Viewed (0)
  2. build-logic/documentation/src/test/groovy/gradlebuild/docs/dsl/docbook/LinkRendererTest.groovy

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.docbook
    
    import gradlebuild.docs.XmlSpecification
    import gradlebuild.docs.dsl.source.model.TypeMetaData
    import gradlebuild.docs.dsl.source.model.MethodMetaData
    import gradlebuild.docs.dsl.source.model.ClassMetaData
    
    class LinkRendererTest extends XmlSpecification {
        final DslDocModel model = Mock()
        final GenerationListener listener = Mock()
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 4.9K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

      patches should only highlight the actual difference, not being disturbed by any formatting issues:
      + Only use spaces for indentation.
      + Create minimal diffs - disable on save actions like reformat source code or organize imports.
        If you feel the source code should be reformatted, create a separate PR for this change.
      + Check for unnecessary whitespace with `git diff --check` before committing.
    Registered: Sun Nov 03 03:35:11 UTC 2024
    - Last Modified: Sun Oct 10 09:48:27 UTC 2021
    - 4.7K bytes
    - Viewed (0)
  4. src/bufio/example_test.go

    // Copyright 2013 The Go Authors. All rights reserved.
    // Use of this source code is governed by a BSD-style
    // license that can be found in the LICENSE file.
    
    package bufio_test
    
    import (
    	"bufio"
    	"bytes"
    	"fmt"
    	"os"
    	"strconv"
    	"strings"
    )
    
    func ExampleWriter() {
    	w := bufio.NewWriter(os.Stdout)
    	fmt.Fprint(w, "Hello, ")
    	fmt.Fprint(w, "world!")
    	w.Flush() // Don't forget to flush!
    	// Output: Hello, world!
    }
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Fri Nov 01 21:52:12 UTC 2024
    - 5.5K bytes
    - Viewed (0)
  5. fess-crawler-opensearch/src/main/java/org/codelibs/fess/crawler/service/impl/OpenSearchDataService.java

                        break;
                    }
    
                    for (final SearchHit searchHit : searchHits) {
                        final Map<String, Object> source = searchHit.getSourceAsMap();
                        final OpenSearchAccessResult accessResult = BeanUtil.copyMapToNewBean(source, OpenSearchAccessResult.class, option -> {
                            option.converter(new EsTimestampConverter(), timestampFields).excludeWhitespace();
    Registered: Sun Nov 10 03:50:12 UTC 2024
    - Last Modified: Thu Nov 07 04:44:10 UTC 2024
    - 8.5K bytes
    - Viewed (0)
  6. LICENSES/vendor/github.com/chai2010/gettext-go/LICENSE

    Copyright 2013 ChaiShushan <chaishushan{AT}gmail.com>. All rights reserved.
    
    Redistribution and use in source and binary forms, with or without
    modification, are permitted provided that the following conditions are
    met:
    
       * Redistributions of source code must retain the above copyright
    notice, this list of conditions and the following disclaimer.
       * Redistributions in binary form must reproduce the above
    Registered: Fri Nov 01 09:05:11 UTC 2024
    - Last Modified: Fri May 08 04:49:00 UTC 2020
    - 1.6K bytes
    - Viewed (0)
  7. build-logic/documentation/src/main/groovy/gradlebuild/docs/dsl/source/model/ParameterMetaData.java

     * limitations under the License.
     */
    package gradlebuild.docs.dsl.source.model;
    
    import org.gradle.api.Action;
    
    import java.io.Serializable;
    import java.util.Objects;
    
    /**
     * Static meta-data about a method parameter extracted from the source for the method.
     */
    public class ParameterMetaData implements Serializable, TypeContainer {
        private final String name;
    Registered: Wed Nov 06 11:36:14 UTC 2024
    - Last Modified: Wed Dec 09 08:14:05 UTC 2020
    - 2K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/InterceptorTest.kt

            override fun contentType() = original.contentType()
    
            override fun contentLength() = original.contentLength()
    
            override fun source() = uppercase(original.source()).buffer()
          }
        }
    
        private fun uppercase(original: Source): Source {
          return object : ForwardingSource(original) {
            override fun read(
              sink: Buffer,
              byteCount: Long,
            ): Long {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 27.8K bytes
    - Viewed (0)
  9. docs/features/https.md

           */
          private fun trustedCertificatesInputStream(): InputStream {
            ... // Full source omitted. See sample.
          }
    
          private fun trustManagerForCertificates(inputStream: InputStream): X509TrustManager {
            ... // Full source omitted. See sample.
          }
        ```
    === ":material-language-java: Java"
        ```java
          private final OkHttpClient client;
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Dec 24 00:16:30 UTC 2022
    - 10.5K bytes
    - Viewed (0)
  10. android/guava-tests/test/com/google/common/io/CharSinkTest.java

          // ensure writer was closed IF it was opened (depends on implementation whether or not it's
          // opened at all if source.newReader() throws).
          assertTrue(
              "stream not closed when copying from source with option: " + option,
              !okSink.wasStreamOpened() || okSink.wasStreamClosed());
        }
      }
    
      public void testClosesOnErrors_whenWriteThrows() {
    Registered: Fri Nov 01 12:43:10 UTC 2024
    - Last Modified: Thu Oct 31 14:20:11 UTC 2024
    - 4.5K bytes
    - Viewed (0)
Back to top