Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_fields_from_routes (0.5 sec)

  1. fastapi/openapi/utils.py

                if route.openapi_extra:
                    deep_dict_update(operation, route.openapi_extra)
                path[method.lower()] = operation
        return path, security_schemes, definitions
    
    
    def get_fields_from_routes(
        routes: Sequence[BaseRoute],
    ) -> List[ModelField]:
        body_fields_from_routes: List[ModelField] = []
        responses_from_routes: List[ModelField] = []
        request_fields_from_routes: List[ModelField] = []
    Registered: Sun Nov 03 07:19:11 UTC 2024
    - Last Modified: Tue Sep 17 18:54:10 UTC 2024
    - 22.6K bytes
    - Viewed (0)
Back to top