Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for showCommonExtensions (0.15 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 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 Nov 03 07:19:11 UTC 2024
    - Last Modified: Fri Nov 01 11:25:57 UTC 2024
    - 460.3K bytes
    - Viewed (0)
Back to top