Kind: Class
Source: atloria-monorepo/packages/doc-automation/src/v2/stages/stage-01-parse/detectors/fastapi-detector.ts
FastAPI Detector
Methods
| Method | Signature | Returns |
|---|---|---|
detectRoutes | detectRoutes(entities: Entity[]) | DetectedFastAPIRoute[] |
detectModels | detectModels(entities: Entity[]) | DetectedPydanticModel[] |
getRouteSummary | getRouteSummary(route: DetectedFastAPIRoute) | string |
Where it refuses work
FastAPIDetectorstops the work with an early return whenmodelMatch && /^[A-Z]/.test(modelMatch[1]).FastAPIDetectorstops the work with an early return when!tagsMatch.FastAPIDetectorstops the work with an early return when!classMatch.FastAPIDetectorstops the work with an early return when!defaultValue.
Was this page helpful?