Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for Alternatives (0.22 sec)

  1. fastapi/param_functions.py

                The parameter is available only for compatibility.
                """
            ),
        ] = _Unset,
        alias: Annotated[
            Optional[str],
            Doc(
                """
                An alternative name for the parameter field.
    
                This will be used to extract the data and for the generated OpenAPI.
                It is particularly useful when you can't use the name you want because it
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 62.5K bytes
    - Viewed (0)
  2. fastapi/openapi/docs.py

            Doc(
                """
                Load and use Google Fonts.
                """
            ),
        ] = True,
    ) -> HTMLResponse:
        """
        Generate and return the HTML response that loads ReDoc for the alternative
        API docs (normally served at `/redoc`).
    
        You would only call this function yourself if you needed to override some parts,
        for example the URLs to use to load ReDoc's JavaScript and CSS.
    
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  3. fastapi/applications.py

                    ```
                    """
                ),
            ] = "/docs",
            redoc_url: Annotated[
                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`.
    
    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)
  4. fastapi/routing.py

            `on_event` is deprecated, use `lifespan` event handlers instead.
    
            Read more about it in the
            [FastAPI docs for Lifespan Events](https://fastapi.tiangolo.com/advanced/events/#alternative-events-deprecated).
            """
    
            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_event_handler(event_type, func)
                return func
    
    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)
Back to top