Repeatability
High
The structure is consistent: parse routes, extract type hints and Pydantic models, map to OpenAPI schema fields. This is the same mechanical process regardless of which 25 endpoints are involved.
Ambiguity Tolerance
High
OpenAPI is a well-defined spec with clear success criteria — valid schema, accurate request/response shapes, documented error codes. An agent can verify completeness against the endpoint list.
Data & Tool Availability
High
The agent needs read access to the codebase, which is straightforward to provide. FastAPI's own schema generation can also be leveraged as a starting point, reducing the work to enrichment and example generation.
Error Cost
Low
The output is a documentation artifact that humans review before publishing. Mistakes are visible and easily corrected; no irreversible actions are taken.
Human Judgment Required
Low
Most of the work is structural extraction and formatting. A human may want to review example values for business accuracy or sensitive field handling, but this is a light pass, not a deep judgment call.