Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for prefix (0.19 sec)

  1. fastapi/routing.py

                on_shutdown=on_shutdown,
                lifespan=lifespan,
            )
            if prefix:
                assert prefix.startswith("/"), "A path prefix must start with '/'"
                assert not prefix.endswith(
                    "/"
                ), "A path prefix must not end with '/', as the routes will start with '/'"
            self.prefix = prefix
            self.tags: List[Union[str, Enum]] = tags or []
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
  2. fastapi/applications.py

                    ```
                    """
                ),
            ] = None,
            openapi_prefix: Annotated[
                str,
                Doc(
                    """
                    A URL prefix for the OpenAPI URL.
                    """
                ),
                deprecated(
                    """
                    "openapi_prefix" has been deprecated in favor of "root_path", which
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
Back to top