Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for get_openapi_operation_metadata (0.21 sec)

  1. fastapi/openapi/utils.py

    
    def generate_operation_summary(*, route: routing.APIRoute, method: str) -> str:
        if route.summary:
            return route.summary
        return route.name.replace("_", " ").title()
    
    
    def get_openapi_operation_metadata(
        *, route: routing.APIRoute, method: str, operation_ids: Set[str]
    ) -> Dict[str, Any]:
        operation: Dict[str, Any] = {}
        if route.tags:
            operation["tags"] = route.tags
    Python
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:40:57 GMT 2024
    - 21.8K bytes
    - Viewed (0)
Back to top