Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for swagger_favicon_url (0.1 seconds)

  1. fastapi/openapi/docs.py

                [FastAPI docs for Custom Docs UI Static Assets](https://fastapi.tiangolo.com/how-to/custom-docs-ui-assets/)
                """
            ),
        ] = "https://cdn.jsdelivr.net/npm/swagger-ui-dist@5/swagger-ui.css",
        swagger_favicon_url: Annotated[
            str,
            Doc(
                """
                The URL of the favicon to use. It is normally shown in the browser tab.
                """
            ),
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Tue Feb 24 09:28:10 GMT 2026
    - 12.1K bytes
    - Click Count (0)
  2. 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():
    Created: Sun Apr 05 07:19:11 GMT 2026
    - Last Modified: Sun Dec 20 18:50:00 GMT 2020
    - 2.4K bytes
    - Click Count (0)
Back to Top