Skip to content

Document API error response standard#58

Open
MyouzzZ wants to merge 1 commit into
PolymorphicAI:mainfrom
MyouzzZ:codex/api-error-response-standard-32-20260626
Open

Document API error response standard#58
MyouzzZ wants to merge 1 commit into
PolymorphicAI:mainfrom
MyouzzZ:codex/api-error-response-standard-32-20260626

Conversation

@MyouzzZ

@MyouzzZ MyouzzZ commented Jun 25, 2026

Copy link
Copy Markdown

Summary

  • document the current FastAPI validation and HTTPException error behavior
  • define a standard API error response schema with stable codes and examples
  • list endpoints that should be updated and outline a backend/frontend migration plan

Closes #32.

Validation

  • Reviewed backend/main.py validation models and explicit HTTPException paths
  • Reviewed frontend non-OK response handling in study-copilot-full.html
  • git diff --check -- docs/api-error-response-standard.md

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Document API error response standard

1 participant