Commit Graph

4 Commits

Author SHA1 Message Date
8cf49238af refactor(openapi): route member-quota errors through the canonical formatter
Replaces the _quota_error/.response hack in workspaces.py with two
throwable OpenApiError subclasses (MemberLimitExceeded,
MemberLicenseExceeded) so all 403 quota responses flow through
OpenApiErrorFormatter rather than bypassing it via the early-return
in external_api.py. Wire codes rename to member_limit_exceeded and
member_license_exceeded.
2026-06-10 02:54:28 -07:00
41f827b609 feat(openapi): add OpenApiErrorFormatter normalizing all error paths to ErrorBody 2026-06-10 02:26:19 -07:00
24b6e6f983 chore(openapi): neutral wording for domain-code comments 2026-06-10 02:08:47 -07:00
3f53fa605e feat(openapi): add canonical ErrorBody model and error-code enum 2026-06-10 02:03:59 -07:00