Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 7 of 7 for Servern (0.04 sec)

  1. fastapi/openapi/models.py

        callbacks: Optional[dict[str, Union[dict[str, "PathItem"], Reference]]] = None
        deprecated: Optional[bool] = None
        security: Optional[list[dict[str, list[str]]]] = None
        servers: Optional[list[Server]] = None
    
    
    class PathItem(BaseModelWithConfig):
        ref: Optional[str] = Field(default=None, alias="$ref")
        summary: Optional[str] = None
        description: Optional[str] = None
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 15.1K bytes
    - Viewed (0)
  2. fastapi/openapi/utils.py

        if contact:
            info["contact"] = contact
        if license_info:
            info["license"] = license_info
        output: dict[str, Any] = {"openapi": openapi_version, "info": info}
        if servers:
            output["servers"] = servers
        components: dict[str, dict[str, Any]] = {}
        paths: dict[str, dict[str, Any]] = {}
        webhook_paths: dict[str, dict[str, Any]] = {}
        operation_ids: set[str] = set()
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 23.2K bytes
    - Viewed (0)
  3. tests/test_tutorial/test_behind_a_proxy/test_tutorial004.py

        assert response.status_code == 200
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "servers": [
                    {
                        "url": "https://stag.example.com",
                        "description": "Staging environment",
                    },
                    {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 1.4K bytes
    - Viewed (0)
  4. tests/test_tutorial/test_behind_a_proxy/test_tutorial003.py

        assert response.status_code == 200
        assert response.json() == snapshot(
            {
                "openapi": "3.1.0",
                "info": {"title": "FastAPI", "version": "0.1.0"},
                "servers": [
                    {"url": "/api/v1"},
                    {
                        "url": "https://stag.example.com",
                        "description": "Staging environment",
                    },
                    {
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 18:19:10 UTC 2025
    - 1.5K bytes
    - Viewed (0)
  5. fastapi/exceptions.py

    
    class HTTPException(StarletteHTTPException):
        """
        An HTTP exception you can raise in your own code to show errors to the client.
    
        This is for client errors, invalid authentication, invalid data, etc. Not for server
        errors in your code.
    
        Read more about it in the
        [FastAPI docs for Handling Errors](https://fastapi.tiangolo.com/tutorial/handling-errors/).
    
        ## Example
    
        ```python
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 6.8K bytes
    - Viewed (0)
  6. pyproject.toml

        "Programming Language :: Python :: 3.11",
        "Programming Language :: Python :: 3.12",
        "Programming Language :: Python :: 3.13",
        "Programming Language :: Python :: 3.14",
        "Topic :: Internet :: WWW/HTTP :: HTTP Servers",
        "Topic :: Internet :: WWW/HTTP",
    ]
    dependencies = [
        "starlette>=0.40.0,<0.51.0",
        "pydantic>=2.7.0",
        "typing-extensions>=4.8.0",
        "annotated-doc>=0.0.2",
    ]
    
    [project.urls]
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 12:54:56 UTC 2025
    - 9.3K bytes
    - Viewed (0)
  7. docs/en/docs/release-notes.md

    * Auto-generate a "server" in OpenAPI `servers` when there's a `root_path` instead of prefixing all the `paths`:
        * Add a new parameter for `FastAPI` classes: `root_path_in_servers` to disable the auto-generation of `servers`.
        * New docs about `root_path` and `servers` in [Additional Servers](https://fastapi.tiangolo.com/advanced/behind-a-proxy/#additional-servers).
    Registered: Sun Dec 28 07:19:09 UTC 2025
    - Last Modified: Sat Dec 27 19:06:15 UTC 2025
    - 586.7K bytes
    - Viewed (0)
Back to top