Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for generate_operation_summary (0.25 sec)

  1. fastapi/openapi/utils.py

        )
        if route.operation_id:
            return route.operation_id
        path: str = route.path_format
        return generate_operation_id_for_path(name=route.name, path=path, method=method)
    
    
    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(
    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