Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 10 of 14 for server (0.04 seconds)

  1. tests/test_openapi_servers.py

    from fastapi import FastAPI
    from fastapi.testclient import TestClient
    from inline_snapshot import snapshot
    
    app = FastAPI(
        servers=[
            {"url": "/", "description": "Default, relative server"},
            {
                "url": "http://staging.localhost.tiangolo.com:8000",
                "description": "Staging but actually localhost still",
            },
            {"url": "https://prod.example.com"},
        ]
    )
    
    
    @app.get("/foo")
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 18:19:10 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  2. fastapi/openapi/models.py

        operationId: Optional[str] = None
        parameters: Optional[dict[str, Union[Any, str]]] = None
        requestBody: Optional[Union[Any, str]] = None
        description: Optional[str] = None
        server: Optional[Server] = None
    
    
    class Response(BaseModelWithConfig):
        description: str
        headers: Optional[dict[str, Union[Header, Reference]]] = None
        content: Optional[dict[str, MediaType]] = None
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 15.1K bytes
    - Click Count (0)
  3. docs/de/docs/index.md

    INFO:     Started server process [2248757]
    INFO:     Waiting for application startup.
    INFO:     Application startup complete.
    ```
    
    </div>
    
    <details markdown="1">
    <summary>Über den Befehl <code>fastapi dev main.py</code> ...</summary>
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 09:39:53 GMT 2025
    - 25.8K bytes
    - Click Count (1)
  4. .teamcity/pom.xml

                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
            </repository>
            <repository>
                <id>teamcity-server</id>
                <url>https://builds.gradle.org/app/dsl-plugins-repository</url>
                <snapshots>
                    <enabled>true</enabled>
                </snapshots>
            </repository>
            <repository>
    Created: Wed Dec 31 11:36:14 GMT 2025
    - Last Modified: Mon Dec 29 22:04:16 GMT 2025
    - 7.4K bytes
    - Click Count (2)
  5. docs/de/llm-prompt.md

    * «the worker process»: NOT «der Arbeiterprozess»
    * «to commit»: «committen»
    * «to deploy» (in the cloud): «deployen»
    * «to modify»: «ändern»
    * «to serve» (an application): «bereitstellen»
    * «to serve» (a response): «ausliefern»
    * «to serve»: NOT «bedienen»
    * «to upgrade»: «aktualisieren»
    * «to wrap»: «wrappen»
    * «to wrap»: NOT «hüllen»
    * «`foo` as a `type`»: «`foo` vom Typ `type`»
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 09:39:53 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  6. docs/de/docs/advanced/dataclasses.md

    FastAPI basiert auf **Pydantic**, und ich habe Ihnen gezeigt, wie Sie Pydantic-Modelle verwenden können, um <abbr title="Request – Anfrage: Daten, die der Client zum Server sendet">Requests</abbr> und <abbr title="Response – Antwort: Daten, die der Server zum anfragenden Client zurücksendet">Responses</abbr> zu deklarieren.
    
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Fri Dec 26 10:43:02 GMT 2025
    - 5K bytes
    - Click Count (0)
  7. 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
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 6.8K bytes
    - Click Count (0)
  8. scripts/translate.py

                    Searching for package file structure
            ```
            »»»
    
        Result (German):
    
            «««
            ```console
            $ <font color="#4E9A06">fastapi</font> run <u style="text-decoration-style:solid">main.py</u>
            <span style="background-color:#009485"><font color="#D3D7CF"> FastAPI </font></span>  Starting server
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 19:05:53 GMT 2025
    - 34.1K bytes
    - Click Count (0)
  9. 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()
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 23.2K bytes
    - Click Count (0)
  10. fastapi/routing.py

                        so it's an error from the API developer. So, FastAPI will raise an
                        error and return a 500 error code (Internal Server Error).
    
                    Read more about it in the
                    [FastAPI docs for Response Model](https://fastapi.tiangolo.com/tutorial/response-model/).
                    """
                ),
    Created: Sun Dec 28 07:19:09 GMT 2025
    - Last Modified: Sat Dec 27 12:54:56 GMT 2025
    - 174.6K bytes
    - Click Count (0)
Back to Top