Search Options

Results per page
Sort
Preferred Languages
Advance

Results 81 - 90 of 99 for light (0.06 sec)

  1. docs/en/docs/tutorial/first-steps.md

    This schema definition includes your API paths, the possible parameters they take, etc.
    
    #### Data "schema"
    
    The term "schema" might also refer to the shape of some data, like a JSON content.
    
    In that case, it would mean the JSON attributes, and data types they have, etc.
    
    #### OpenAPI and JSON Schema
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Mon May 20 00:24:48 UTC 2024
    - 12K bytes
    - Viewed (0)
  2. docs/en/docs/advanced/behind-a-proxy.md

    # Behind a Proxy
    
    In some situations, you might need to use a **proxy** server like Traefik or Nginx with a configuration that adds an extra path prefix that is not seen by your application.
    
    In these cases you can use `root_path` to configure your application.
    
    The `root_path` is a mechanism provided by the ASGI specification (that FastAPI is built on, through Starlette).
    
    The `root_path` is used to handle these specific cases.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 11.6K bytes
    - Viewed (0)
  3. docs/en/docs/advanced/additional-responses.md

    # Additional Responses in OpenAPI
    
    !!! warning
        This is a rather advanced topic.
    
        If you are starting with **FastAPI**, you might not need this.
    
    You can declare additional responses, with additional status codes, media types, descriptions, etc.
    
    Those additional responses will be included in the OpenAPI schema, so they will also appear in the API docs.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat May 18 23:43:13 UTC 2024
    - 8.8K bytes
    - Viewed (0)
  4. docs/en/docs/tutorial/security/get-current-user.md

        ```
    
    Notice that we declare the type of `current_user` as the Pydantic model `User`.
    
    This will help us inside of the function with all the completion and type checks.
    
    !!! tip
        You might remember that request bodies are also declared with Pydantic models.
    
        Here **FastAPI** won't get confused because you are using `Depends`.
    
    !!! check
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Jan 11 16:31:18 UTC 2024
    - 7.6K bytes
    - Viewed (0)
  5. docs/en/docs/how-to/conditional-openapi.md

    * Implement and use well-known cryptographic tools, like Passlib and JWT tokens, etc.
    * Add more granular permission controls with OAuth2 scopes where needed.
    * ...etc.
    
    Nevertheless, you might have a very specific use case where you really need to disable the API docs for some environment (e.g. for production) or depending on configurations from environment variables.
    
    ## Conditional OpenAPI from settings and env vars
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Sat Aug 19 19:54:04 UTC 2023
    - 2.3K bytes
    - Viewed (0)
  6. docs/en/docs/tutorial/query-params-str-validations.md

    That information will be included in the generated OpenAPI and used by the documentation user interfaces and external tools.
    
    !!! note
        Keep in mind that different tools might have different levels of OpenAPI support.
    
        Some of them might not show all the extra information declared yet, although in most of the cases, the missing feature is already planned for development.
    
    You can add a `title`:
    
    === "Python 3.10+"
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Fri May 31 02:38:05 UTC 2024
    - 25.8K bytes
    - Viewed (0)
  7. docs/en/docs/advanced/openapi-webhooks.md

    This can make it a lot easier for your users to **implement their APIs** to receive your **webhook** requests, they might even be able to autogenerate some of their own API code.
    
    !!! info
        Webhooks are available in OpenAPI 3.1.0 and above, supported by FastAPI `0.99.0` and above.
    
    ## An app with webhooks
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu May 02 22:37:31 UTC 2024
    - 2.8K bytes
    - Viewed (0)
  8. docs/en/data/external_links.yml

    title: Build The Next Generation Of Python Web Applications With FastAPI - Episode 259 - interview to Sebastían Ramírez (tiangolo) - author: Python Bytes FM author_link: https://pythonbytes.fm/ link: https://pythonbytes.fm/episodes/show/123/time-to-right-the-py-wrongs?time_in_sec=855 title: FastAPI on PythonBytes Talks: English: - author: Jeny Sadadia author_link: https://github.com/JenySadadia link: https://www.youtube.com/watch?v=uZdTe8_Z6BQ title: 'PyCon AU 2023: Testing asynchronous applications...
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Wed Jun 12 00:47:57 UTC 2024
    - 22K bytes
    - Viewed (0)
  9. tests/test_tutorial/test_dataclasses/test_tutorial003.py

                        "description": "The kombucha mushroom people's favorite",
                    },
                    {"name": "Pad Thai", "description": None},
                    {
                        "name": "Lonely Night",
                        "description": "The mostests lonliest nightiest of allest",
                    },
                ],
            },
        ]
    
    
    @needs_pydanticv2
    def test_openapi_schema():
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Sep 28 04:14:40 UTC 2023
    - 12.1K bytes
    - Viewed (0)
  10. docs/en/docs/alternatives.md

    It uses the information from Webargs and Marshmallow to automatically generate OpenAPI schemas, using APISpec.
    
    It's a great tool, very underrated. It should be way more popular than many Flask plug-ins out there. It might be due to its documentation being too concise and abstract.
    
    This solved having to write YAML (another syntax) inside of Python docstrings.
    
    Registered: Mon Jun 17 08:32:26 UTC 2024
    - Last Modified: Thu Apr 18 19:53:19 UTC 2024
    - 23.2K bytes
    - Viewed (0)
Back to top