Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 3 of 3 for redoc_js_url (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. tests/test_local_docs.py

        redoc_js_url = "fake_redoc_file.js"
        redoc_favicon_url = "fake_redoc_file.png"
        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():
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 2.4K bytes
    - Click Count (0)
  2. docs_src/custom_docs_ui/tutorial002_py39.py

    
    @app.get("/redoc", include_in_schema=False)
    async def redoc_html():
        return get_redoc_html(
            openapi_url=app.openapi_url,
            title=app.title + " - ReDoc",
            redoc_js_url="/static/redoc.standalone.js",
        )
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 20:41:43 GMT 2025
    - 1.1K bytes
    - Click Count (0)
  3. fastapi/openapi/docs.py

        ],
        title: Annotated[
            str,
            Doc(
                """
                The HTML `<title>` content, normally shown in the browser tab.
                """
            ),
        ],
        redoc_js_url: Annotated[
            str,
            Doc(
                """
                The URL to use to load the ReDoc JavaScript.
    
                It is normally set to a CDN URL.
                """
            ),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Wed Dec 17 21:25:59 GMT 2025
    - 10.1K bytes
    - Click Count (0)
Back to Top