MCPcopy Index your code
hub / github.com/fastapi/fastapi / generate_operation_summary

Function generate_operation_summary

fastapi/openapi/utils.py:230–233  ·  view source on GitHub ↗
(*, route: routing._APIRouteLike, method: str)

Source from the content-addressed store, hash-verified

228
229
230def generate_operation_summary(*, route: routing._APIRouteLike, method: str) -> str:
231 if route.summary:
232 return route.summary
233 return route.name.replace("_", " ").title()
234
235
236def get_openapi_operation_metadata(

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…