Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 0 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
venv/
__pycache__/
*.pyc
*.joblib
report.json
report.md
Binary file added breakguard/risk_model.joblib
Binary file not shown.
Binary file added breakguard/vectorizer.joblib
Binary file not shown.
12 changes: 11 additions & 1 deletion openapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
"name": "id",
"in": "path",
"required": true,
"schema": { "type": "integer" }
"schema": { "type": "string" }
}
],
"responses": {
Expand All @@ -28,6 +28,16 @@
}
}
}
},
"/users/{id}/profile": {
"get": {
"summary": "Get a user's profile",
"responses": {
"200": {
"description": "Profile data"
}
}
}
}
}
}
Loading