Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for overlay (1.73 sec)

  1. docs/en/docs/history-design-future.md

    Also, the best approach was to use already existing standards.
    
    So, before even starting to code **FastAPI**, I spent several months studying the specs for OpenAPI, JSON Schema, OAuth2, etc. Understanding their relationship, overlap, and differences.
    
    ## Design
    
    Then I spent some time designing the developer "API" I wanted to have as a user (as a developer using FastAPI).
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Fri Mar 22 01:42:11 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. fastapi/_compat.py

        ) -> Type[BaseModel]:
            field_params = {f.name: (f.field_info.annotation, f.field_info) for f in fields}
            BodyModel: Type[BaseModel] = create_model(model_name, **field_params)  # type: ignore[call-overload]
            return BodyModel
    
    else:
        from fastapi.openapi.constants import REF_PREFIX as REF_PREFIX
        from pydantic import AnyUrl as Url  # noqa: F401
        from pydantic import (  # type: ignore[assignment]
    Python
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 22.6K bytes
    - Viewed (0)
Back to top