Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for swagger_favicon_url (0.23 sec)

  1. tests/test_local_docs.py

        swagger_favicon_url = sig.parameters.get("swagger_favicon_url").default  # type: ignore
        html = get_swagger_ui_html(openapi_url="/docs", title="title")
        body_content = html.body.decode()
        assert swagger_js_url in body_content
        assert swagger_css_url in body_content
        assert swagger_favicon_url in body_content
    
    
    def test_strings_in_custom_swagger():
    Python
    - Registered: Sun Apr 21 07:19:11 GMT 2024
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 2.4K bytes
    - Viewed (0)
  2. fastapi/openapi/docs.py

                The URL to use to load the Swagger UI CSS.
    
                It is normally set to a CDN URL.
                """
            ),
        ] = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5.9.0/swagger-ui.css",
        swagger_favicon_url: Annotated[
            str,
            Doc(
                """
                The URL of the favicon to use. It is normally shown in the browser tab.
                """
            ),
    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)
Back to top