Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Trick (0.34 sec)

  1. fastapi/applications.py

                    the OpenAPI version. But some tools, even though they might be
                    compatible with OpenAPI 3.1.0, might not recognize it as a valid.
    
                    So you could override this value to trick those tools into using
                    the generated OpenAPI. Have in mind that this is a hack. But if you
                    avoid using features added in OpenAPI 3.1.0, it might work for your
                    use case.
    
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 172.2K bytes
    - Viewed (0)
  2. fastapi/routing.py

        from fastapi import APIRouter, FastAPI
    
        app = FastAPI()
        router = APIRouter()
    
    
        @router.get("/users/", tags=["users"])
        async def read_users():
            return [{"username": "Rick"}, {"username": "Morty"}]
    
    
        app.include_router(router)
        ```
        """
    
        def __init__(
            self,
            *,
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Tue Apr 02 02:48:51 GMT 2024
    - 170.1K bytes
    - Viewed (0)
Back to top