You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: add 404 checks, search validation, and extract shared helpers
- Add AccountExists checks to GetRelationships and GetReputation
endpoints to honor the 404 contract documented in Swagger
- Add search query length validation (max 100 chars) and tag length
validation matching the web handler
- Discard too-short queries (<2 chars) while preserving tag-only search
- Extract validateAccountID, inferAccountType, convertCategories, and
convertRelationship helpers to eliminate duplication
- Unify account type classification between listAll and Search via
shared inferAccountType helper
- Simplify tag parsing with lo.FilterMap (trim-before-filter)
- Regenerate Swagger docs with 400 response for search endpoint
Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
0 commit comments