Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for javascript (0.24 sec)

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

    ## JavaScript-only settings
    
    Swagger UI also allows other configurations to be **JavaScript-only** objects (for example, JavaScript functions).
    
    FastAPI also includes these JavaScript-only `presets` settings:
    
    ```JavaScript
    presets: [
        SwaggerUIBundle.presets.apis,
        SwaggerUIBundle.SwaggerUIStandalonePreset
    ]
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. docs/de/docs/how-to/custom-docs-ui-assets.md

    Die API-Dokumentation verwendet **Swagger UI** und **ReDoc**, und jede dieser Dokumentationen benötigt einige JavaScript- und CSS-Dateien.
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:17:36 GMT 2024
    - 9.2K bytes
    - Viewed (0)
  3. docs/de/docs/how-to/configure-swagger-ui.md

    ## JavaScript-basierte Einstellungen
    
    Die Swagger-Oberfläche erlaubt, dass andere Konfigurationen auch **JavaScript**-Objekte sein können (z. B. JavaScript-Funktionen).
    
    FastAPI umfasst auch diese Nur-JavaScript-`presets`-Einstellungen:
    
    ```JavaScript
    presets: [
        SwaggerUIBundle.presets.apis,
        SwaggerUIBundle.SwaggerUIStandalonePreset
    ]
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:17:49 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  4. docs/zh/docs/advanced/extending-openapi.md

    <img src="/img/tutorial/extending-openapi/image01.png">
    
    ## 文档 JavaScript 与 CSS 自托管
    
    FastAPI 支持 **Swagger UI** 和 **ReDoc** 两种 API 文档,这两种文档都需要调用 JavaScript 与 CSS 文件。
    
    这些文件默认由 <abbr title="Content Delivery Network(内容分发网络): 由多台服务器为 JavaScript 和 CSS 等静态文件支持的服务。一般来说,从靠近客户端的服务器提供静态文件服务可以提高性能。">CDN</abbr> 提供支持服务。
    
    但也可以自定义设置指定的 CDN 或自行提供文件服务。
    
    Plain Text
    - Registered: Sun Mar 31 07:19:09 GMT 2024
    - Last Modified: Sat Mar 30 22:46:12 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  5. fastapi/openapi/docs.py

                """
            ),
        ],
        swagger_js_url: Annotated[
            str,
            Doc(
                """
                The URL to use to load the Swagger UI JavaScript.
    
                It is normally set to a CDN URL.
                """
            ),
        ] = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui-bundle.js",
        swagger_css_url: Annotated[
            str,
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  6. docs/en/docs/reference/staticfiles.md

    # Static Files - `StaticFiles`
    
    You can use the `StaticFiles` class to serve static files, like JavaScript, CSS, images, etc.
    
    Read more about it in the [FastAPI docs for Static Files](https://fastapi.tiangolo.com/tutorial/static-files/).
    
    You can import it directly from `fastapi.staticfiles`:
    
    ```python
    from fastapi.staticfiles import StaticFiles
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 391 bytes
    - Viewed (0)
  7. docs/de/docs/newsletter.md

    <iframe data-w-type="embedded" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" src="https://xr4n4.mjt.lu/wgt/xr4n4/hj5/form?c=40a44fa4" width="100%" style="height: 0;"></iframe>
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sun Feb 18 12:18:33 GMT 2024
    - 322 bytes
    - Viewed (0)
  8. .github/workflows/codeql-analysis.yml

        strategy:
          fail-fast: false
          matrix:
            # Override automatic language detection by changing the below list
            # Supported options are ['csharp', 'cpp', 'go', 'java', 'javascript', 'python']
            language: ['java', 'javascript']
            # Learn more...
            # https://docs.github.com/en/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#overriding-automatic-language-detection
    
    Others
    - Registered: Wed Apr 24 11:36:11 GMT 2024
    - Last Modified: Tue Jan 30 18:26:59 GMT 2024
    - 4K bytes
    - Viewed (0)
  9. docs/de/docs/reference/staticfiles.md

    # Statische Dateien – `StaticFiles`
    
    Sie können die `StaticFiles`-Klasse verwenden, um statische Dateien wie JavaScript, CSS, Bilder, usw. bereitzustellen.
    
    Lesen Sie mehr darüber in der [FastAPI-Dokumentation zu statischen Dateien](../tutorial/static-files.md).
    
    Sie können sie direkt von `fastapi.staticfiles` importieren:
    
    ```python
    from fastapi.staticfiles import StaticFiles
    ```
    
    Plain Text
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sat Mar 30 18:14:58 GMT 2024
    - 426 bytes
    - Viewed (0)
  10. .github/workflows/codeql-analysis.yml

      workflow_dispatch:
    
    jobs:
      analyze:
        name: Analyze
        runs-on: ubuntu-latest
        timeout-minutes: 20
    
        strategy:
          fail-fast: false
          matrix:
            language: ['java', 'javascript']
    
        steps:
        - name: Checkout repository
          uses: actions/checkout@v4
          with:
            fetch-depth: 2
    
        - name: Initialize CodeQL
          uses: github/codeql-action/init@v1
          with:
    Others
    - Registered: Mon Apr 22 08:04:10 GMT 2024
    - Last Modified: Sat Feb 10 03:25:34 GMT 2024
    - 1K bytes
    - Viewed (0)
Back to top