Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Dadd (0.13 sec)

  1. fastapi/applications.py

                        if root_path and self.root_path_in_servers:
                            self.servers.insert(0, {"url": root_path})
                            server_urls.add(root_path)
                    return JSONResponse(self.openapi())
    
                self.add_route(self.openapi_url, openapi, include_in_schema=False)
            if self.openapi_url and self.docs_url:
    
                async def swagger_ui_html(req: Request) -> HTMLResponse:
    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)
  2. fastapi/routing.py

            def decorator(func: DecoratedCallable) -> DecoratedCallable:
                self.add_route(
                    path,
                    func,
                    methods=methods,
                    name=name,
                    include_in_schema=include_in_schema,
                )
                return func
    
            return decorator
    
        def add_api_route(
            self,
            path: str,
            endpoint: Callable[..., Any],
    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