Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 269 for versions (0.14 sec)

  1. fastapi/params.py

    from fastapi.openapi.models import Example
    from pydantic.fields import FieldInfo
    from typing_extensions import Annotated, deprecated
    
    from ._compat import PYDANTIC_V2, PYDANTIC_VERSION, Undefined
    
    _Unset: Any = Undefined
    
    
    class ParamTypes(Enum):
        query = "query"
        header = "header"
        path = "path"
        cookie = "cookie"
    
    
    class Param(FieldInfo):
        in_: ParamTypes
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 27.5K bytes
    - Viewed (1)
  2. tests/test_tutorial/test_request_forms/test_tutorial001_an.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/login/": {
                    "post": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 7.5K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/behind-a-proxy.md

    }
    ```
    
    but this time at the URL with the prefix path provided by the proxy: `/api/v1`.
    
    Of course, the idea here is that everyone would access the app through the proxy, so the version with the path prefix `/api/v1` is the "correct" one.
    
    And the version without the path prefix (`http://127.0.0.1:8000/app`), provided by Uvicorn directly, would be exclusively for the _proxy_ (Traefik) to access it.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu May 02 22:37:31 GMT 2024
    - 11.6K bytes
    - Viewed (2)
  4. docs/it/docs/index.md

        <img src="https://img.shields.io/codecov/c/github/tiangolo/fastapi" alt="Coverage">
    </a>
    <a href="https://pypi.org/project/fastapi" target="_blank">
        <img src="https://badge.fury.io/py/fastapi.svg" alt="Package version">
    </a>
    </p>
    
    ---
    
    **Documentazione**: <a href="https://fastapi.tiangolo.com" target="_blank">https://fastapi.tiangolo.com</a>
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 23:58:47 GMT 2024
    - 19.3K bytes
    - Viewed (0)
  5. tests/test_tutorial/test_dependencies/test_tutorial012_an.py

    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "get": {
                        "summary": "Read Items",
                        "operationId": "read_items_items__get",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. docs/em/docs/tutorial/metadata.md

    ## πŸ—ƒ πŸ› οΈ
    
    πŸ‘† πŸ’ͺ βš’ πŸ“„ πŸ‘ πŸ‘ˆ βš™οΈ πŸ—„ πŸ”§ &amp; 🏧 πŸ› οΈ 🩺 ⚜:
    
    | πŸ”’ | πŸ†Ž | πŸ“› |
    |------------|------|-------------|
    | `title` | `str` | πŸ“› πŸ› οΈ. |
    | `description` | `str` | πŸ“ πŸ“› πŸ› οΈ. ⚫️ πŸ’ͺ βš™οΈ ✍. |
    | `version` | `string` | ⏬ πŸ› οΈ. πŸ‘‰ ⏬ πŸ‘† πŸ‘ 🈸, 🚫 πŸ—„. πŸ–Ό `2.5.0`. |
    | `terms_of_service` | `str` | πŸ“› βš– πŸ•β€πŸ¦Ί πŸ› οΈ. πŸš₯ 🚚, πŸ‘‰ βœ”οΈ πŸ“›. |
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  7. docs/en/docs/alternatives.md

    At some point, Swagger was given to the Linux Foundation, to be renamed OpenAPI.
    
    That's why when talking about version 2.0 it's common to say "Swagger", and for version 3+ "OpenAPI".
    
    !!! check "Inspired **FastAPI** to"
        Adopt and use an open standard for API specifications, instead of a custom schema.
    
        And integrate standards-based user interface tools:
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 23.2K bytes
    - Viewed (0)
  8. tests/test_tutorial/test_security/test_tutorial005_an.py

    def test_openapi_schema():
        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/token": {
                    "post": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Wed Mar 13 19:07:10 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  9. docs/ru/docs/tutorial/first-steps.md

    Π’Ρ‹ ΡƒΠ²ΠΈΠ΄ΠΈΡ‚Π΅ ΠΏΡ€ΠΈΠΌΠ΅Ρ€Π½ΠΎ Ρ‚Π°ΠΊΠΎΠΉ JSON:
    
    ```JSON
    {
        "openapi": "3.0.2",
        "info": {
            "title": "FastAPI",
            "version": "0.1.0"
        },
        "paths": {
            "/items/": {
                "get": {
                    "responses": {
                        "200": {
                            "description": "Successful Response",
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.1K bytes
    - Viewed (0)
  10. tests/test_tutorial/test_body/test_tutorial001_py310.py

        response = client.get("/openapi.json")
        assert response.status_code == 200, response.text
        assert response.json() == {
            "openapi": "3.1.0",
            "info": {"title": "FastAPI", "version": "0.1.0"},
            "paths": {
                "/items/": {
                    "post": {
                        "responses": {
                            "200": {
                                "description": "Successful Response",
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 15K bytes
    - Viewed (2)
Back to top