Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for qrls (0.14 sec)

  1. fastapi/openapi/docs.py

        Generate and return the HTML  that loads Swagger UI for the interactive
        API docs (normally served at `/docs`).
    
        You would only call this function yourself if you needed to override some parts,
        for example the URLs to use to load Swagger UI's JavaScript and CSS.
    
        Read more about it in the
        [FastAPI docs for Configure Swagger UI](https://fastapi.tiangolo.com/how-to/configure-swagger-ui/)
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 10.1K bytes
    - Viewed (0)
  2. fastapi/applications.py

        def setup(self) -> None:
            if self.openapi_url:
                urls = (server_data.get("url") for server_data in self.servers)
                server_urls = {url for url in urls if url}
    
                async def openapi(req: Request) -> JSONResponse:
                    root_path = req.scope.get("root_path", "").rstrip("/")
                    if root_path not in server_urls:
                        if root_path and self.root_path_in_servers:
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  3. scripts/mkdocs_hooks.py

                files.append(
                    EnFile(
                        path=item,
                        src_dir=str(en_src_dir),
                        dest_dir=config.site_dir,
                        use_directory_urls=config.use_directory_urls,
                    )
                )
    
    
    def resolve_files(*, items: List[Any], files: Files, config: MkDocsConfig) -> None:
        for item in items:
            if isinstance(item, str):
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Oct 24 20:26:06 GMT 2023
    - 5.1K bytes
    - Viewed (0)
  4. fastapi/routing.py

                    """
                ),
            ] = None,
            redirect_slashes: Annotated[
                bool,
                Doc(
                    """
                    Whether to detect and redirect slashes in URLs when the client doesn't
                    use the same format.
                    """
                ),
            ] = True,
            default: Annotated[
                Optional[ASGIApp],
                Doc(
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top