diff --git a/.gitignore b/.gitignore index bd78790..44bdd2f 100644 --- a/.gitignore +++ b/.gitignore @@ -1,6 +1,5 @@ venv/ __pycache__/ *.pyc -*.joblib report.json report.md \ No newline at end of file diff --git a/breakguard/risk_model.joblib b/breakguard/risk_model.joblib new file mode 100644 index 0000000..932304d Binary files /dev/null and b/breakguard/risk_model.joblib differ diff --git a/breakguard/vectorizer.joblib b/breakguard/vectorizer.joblib new file mode 100644 index 0000000..65648af Binary files /dev/null and b/breakguard/vectorizer.joblib differ diff --git a/openapi.json b/openapi.json index 310e04b..368ead7 100644 --- a/openapi.json +++ b/openapi.json @@ -19,7 +19,7 @@ "name": "id", "in": "path", "required": true, - "schema": { "type": "integer" } + "schema": { "type": "string" } } ], "responses": { @@ -28,6 +28,16 @@ } } } + }, + "/users/{id}/profile": { + "get": { + "summary": "Get a user's profile", + "responses": { + "200": { + "description": "Profile data" + } + } + } } } } \ No newline at end of file