Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for truedoc (0.14 sec)

  1. fastapi/openapi/docs.py

        <!--
        ReDoc doesn't change outer page styles
        -->
        <style>
          body {{
            margin: 0;
            padding: 0;
          }}
        </style>
        </head>
        <body>
        <noscript>
            ReDoc requires Javascript to function. Please enable it to browse the documentation.
        </noscript>
        <redoc spec-url="{openapi_url}"></redoc>
        <script src="{redoc_js_url}"> </script>
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  2. docs_src/custom_docs_ui/tutorial001.py

    async def swagger_ui_redirect():
        return get_swagger_ui_oauth2_redirect_html()
    
    
    @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="https://unpkg.com/redoc@next/bundles/redoc.standalone.js",
        )
    
    
    @app.get("/users/{username}")
    async def read_user(username: str):
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.1K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_custom_docs_ui/test_tutorial001.py

        assert "window.opener.swaggerUIRedirectOauth2" in response.text
    
    
    def test_redoc_html(client: TestClient):
        response = client.get("/redoc")
        assert response.status_code == 200, response.text
        assert "https://unpkg.com/redoc@next/bundles/redoc.standalone.js" in response.text
    
    
    def test_api(client: TestClient):
        response = client.get("/users/john")
        assert response.status_code == 200, response.text
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 1.3K bytes
    - Viewed (0)
  4. docs/en/docs/how-to/custom-docs-ui-assets.md

    And **ReDoc** uses the file:
    
    * <a href="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js" class="external-link" target="_blank">`redoc.standalone.js`</a>
    
    After that, your file structure could look like:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static
        ├── redoc.standalone.js
        ├── swagger-ui-bundle.js
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 7.5K bytes
    - Viewed (0)
  5. docs/de/docs/how-to/custom-docs-ui-assets.md

    Und **ReDoc** verwendet diese Datei:
    
    * <a href="https://cdn.jsdelivr.net/npm/redoc@next/bundles/redoc.standalone.js" class="external-link" target="_blank">`redoc.standalone.js`</a>
    
    Danach könnte Ihre Dateistruktur wie folgt aussehen:
    
    ```
    .
    ├── app
    │   ├── __init__.py
    │   ├── main.py
    └── static
        ├── redoc.standalone.js
        ├── swagger-ui-bundle.js
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 23 22:59:02 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/first-steps.md

    ### Alternative API docs
    
    And now, go to <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>.
    
    You will see the alternative automatic documentation (provided by <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a>):
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ### OpenAPI
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 12K bytes
    - Viewed (1)
  7. README.md

    ### Alternative API docs
    
    And now, go to <a href="http://127.0.0.1:8000/redoc" class="external-link" target="_blank">http://127.0.0.1:8000/redoc</a>.
    
    You will see the alternative automatic documentation (provided by <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a>):
    
    ![ReDoc](https://fastapi.tiangolo.com/img/index/index-02-redoc-simple.png)
    
    ## Example upgrade
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 30 13:28:20 UTC 2024
    - 22.8K bytes
    - Viewed (0)
  8. docs/en/docs/deployment/docker.md

    And you can also go to <a href="http://192.168.99.100/redoc" class="external-link" target="_blank">http://192.168.99.100/redoc</a> or <a href="http://127.0.0.1/redoc" class="external-link" target="_blank">http://127.0.0.1/redoc</a> (or equivalent, using your Docker host).
    
    You will see the alternative automatic documentation (provided by <a href="https://github.com/Rebilly/ReDoc" class="external-link" target="_blank">ReDoc</a>):
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 34K bytes
    - Viewed (0)
  9. fastapi/applications.py

                Optional[str],
                Doc(
                    """
                    The path to the alternative automatic interactive API documentation
                    provided by ReDoc.
    
                    The default URL is `/redoc`. You can disable it by setting it to `None`.
    
                    If `openapi_url` is set to `None`, this will be automatically disabled.
    
                    Read more in the
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 00:48:03 UTC 2024
    - 172.2K bytes
    - Viewed (0)
  10. docs/en/docs/release-notes.md

    * Make Swagger UI and ReDoc route handlers (*path operations*) be `async` functions instead of lambdas to improve performance. PR [#241](https://github.com/tiangolo/fastapi/pull/241) by [@Trim21](https://github.com/Trim21).
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri Jun 14 15:07:37 UTC 2024
    - 395.4K bytes
    - Viewed (0)
Back to top