{
"id": "fastapi-route-missing-response-model",
"language": "python",
"group": "maintainability",
"listingTitle": "Review route missing response model",
"title": "Review route missing response model",
"mvvm": false,
"defaultSeverity": "info",
"legacyGroup": "maintainability",
"why": "An undocumented response shape weakens validation and the generated OpenAPI contract.",
"suggestion": "Declare response_model or a precise return annotation.",
"version": 1,
"semanticMaturity": "project",
"securityKind": "none",
"taxonomy": [
"maintainability"
],
"requirements": [
"sourceText"
],
"packs": [
"fastapi"
],
"implementation": "src/rules/frameworks/fastapi.rs",
"languages": [
"python"
],
"frameworks": [
"fastapi"
],
"languageVersions": [],
"limitations": [
"Only explicit FastAPI decorators, common middleware, SQLAlchemy, JWT, and dependency patterns are resolved.",
"Framework wrappers, generated routes, runtime registrations, and external infrastructure cannot be resolved."
]
}