Merged
Conversation
- Add OpenAPI schemas for all API endpoints with Zod validation - Create schema definitions for auth, catalog, packs, users, templates, guides, weather, chat, search, and upload - Add tags for route categorization (Authentication, Catalog, Packs, Users, etc.) - Document security requirements with Bearer authentication - Include comprehensive error responses (401, 403, 404, 500) - Add request/response validation schemas with examples and descriptions - Create central OpenAPI configuration in utils/openapi.ts - Update all routes to use createRoute from @hono/zod-openapi - Convert routes to OpenAPIHono type for proper typing - Add drizzle-zod schemas for potential future use Note: Response formats remain unchanged to maintain frontend compatibility Only documentation and type safety improvements in this commit 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Add explicit status codes to all c.json() responses (200 for success) - Fix schema type mismatch: catalog item ID changed from string to number - Cast weather API response to any to avoid unknown type error - Maintain backward compatibility with existing response formats All TypeScript errors in API source code now resolved. 🤖 Generated with [Claude Code](https://claude.ai/code) Co-Authored-By: Claude <noreply@anthropic.com>
- Replace all Response.json() with c.json() for Hono compatibility
- Replace unauthorizedResponse() with inline c.json({ error: 'Unauthorized' }, 401)
- Add explicit HTTP status codes to all route responses
- Fix schema type mismatches (catalog item ID: string to number)
- Standardize error handling across all routes
Changes applied to:
- auth routes: fixed Response.json and added status codes
- catalog routes: removed unauthorizedResponse dependency
- pack routes: added explicit status codes
- guide routes: fixed response patterns
- weather routes: added status codes
- chat routes: updated response methods
- user routes: standardized responses
Note: Some schema mismatches remain between DB models and OpenAPI schemas
that will need to be addressed in a follow-up PR.
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
…ius for long values
…-temp Chore/Diisable ENV Validation Temp 2
Co-authored-by: andrew-bierman <94939237+andrew-bierman@users.noreply.github.com>
Co-authored-by: andrew-bierman <94939237+andrew-bierman@users.noreply.github.com>
Co-authored-by: andrew-bierman <94939237+andrew-bierman@users.noreply.github.com>
Co-authored-by: andrew-bierman <94939237+andrew-bierman@users.noreply.github.com>
…d3-8e93-abe3599ef9ab
Fix/catalog search screen
… room for ETL processing
Fix/Stream object in ETL
chore: bump version to v2.0.5
Chore/Bound to Max CPU Time Limit
…loop handover for gc opportuinities to prevent memory bloat
Fix/ETL Memory Limit 2
Development -> Main
Contributor
Deploying with
|
| Status | Name | Latest Commit | Updated (UTC) |
|---|---|---|---|
| ✅ Deployment successful! View logs |
packrat-api | 42605d8 | Aug 25 2025, 04:22 AM |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.