Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for showCommonExtensions (0.2 sec)

  1. tests/test_tutorial/test_configure_swagger_ui/test_tutorial002.py

            "default configs should be preserved"
        )
        assert '"showExtensions": true,' in response.text, (
            "default configs should be preserved"
        )
        assert '"showCommonExtensions": true,' in response.text, (
            "default configs should be preserved"
        )
    
    
    def test_get_users():
        response = client.get("/users/foo")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  2. tests/test_tutorial/test_configure_swagger_ui/test_tutorial003.py

            "default configs should be preserved"
        )
        assert '"showExtensions": true,' in response.text, (
            "default configs should be preserved"
        )
        assert '"showCommonExtensions": true,' in response.text, (
            "default configs should be preserved"
        )
    
    
    def test_get_users():
        response = client.get("/users/foo")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_configure_swagger_ui/test_tutorial001.py

            "default configs should be preserved"
        )
        assert '"showExtensions": true,' in response.text, (
            "default configs should be preserved"
        )
        assert '"showCommonExtensions": true,' in response.text, (
            "default configs should be preserved"
        )
    
    
    def test_get_users():
        response = client.get("/users/foo")
        assert response.status_code == 200, response.text
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 20:41:43 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. fastapi/openapi/docs.py

            """
        ),
    ] = {
        "dom_id": "#swagger-ui",
        "layout": "BaseLayout",
        "deepLinking": True,
        "showExtensions": True,
        "showCommonExtensions": True,
    }
    
    
    def get_swagger_ui_html(
        *,
        openapi_url: Annotated[
            str,
            Doc(
                """
                The OpenAPI URL that Swagger UI should load and use.
    
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Wed Dec 17 21:25:59 UTC 2025
    - 10.1K bytes
    - Viewed (0)
  5. docs/en/docs/release-notes.md

    * Update docs for first steps, links and rewording. PR [#1518](https://github.com/tiangolo/fastapi/pull/1518) by [@yankeexe](https://github.com/yankeexe).
    * Enable `showCommonExtensions` in Swagger UI to show additional validations like `maxLength`, etc. PR [#1466](https://github.com/tiangolo/fastapi/pull/1466) by [@TiewKH](https://github.com/TiewKH).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top