Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for redoc_favicon_url (0.06 sec)

  1. tests/test_local_docs.py

        html = get_redoc_html(
            openapi_url="/docs",
            title="title",
            redoc_js_url=redoc_js_url,
            redoc_favicon_url=redoc_favicon_url,
        )
        body_content = html.body.decode()
        assert redoc_js_url in body_content
        assert redoc_favicon_url in body_content
    
    
    def test_google_fonts_in_generated_redoc():
        body_with_google_fonts = get_redoc_html(
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sun Dec 20 18:50:00 UTC 2020
    - 2.4K bytes
    - Viewed (0)
  2. fastapi/openapi/docs.py

                The URL to use to load the ReDoc JavaScript.
    
                It is normally set to a CDN URL.
                """
            ),
        ] = "https://cdn.jsdelivr.net/npm/redoc@2/bundles/redoc.standalone.js",
        redoc_favicon_url: Annotated[
            str,
            Doc(
                """
                The URL of the favicon to use. It is normally shown in the browser tab.
                """
            ),
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 10.1K bytes
    - Viewed (0)
Back to top