feat(UI): generate ssh key API's doc#1300
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
genedna
approved these changes
Aug 1, 2025
Contributor
There was a problem hiding this comment.
Pull Request Overview
This pull request adds API documentation and route generation for SSH key and token management endpoints. The changes focus on implementing OpenAPI documentation generation for user authentication methods.
- Adds OpenAPI documentation annotations to SSH key and token management endpoints
- Introduces new TypeScript type definitions for SSH and token operations
- Refactors enum types to support proper API documentation generation
Reviewed Changes
Copilot reviewed 10 out of 10 changed files in this pull request and generated 2 comments.
Show a summary per file
| File | Description |
|---|---|
| moon/packages/types/generated.ts | Adds TypeScript types for SSH key and token APIs, updates enum names for consistency |
| mono/src/server/https_server.rs | Adds USER_TAG constant and logging statement for server startup |
| mono/src/api/user/user_router.rs | Implements OpenAPI documentation and route registration for user endpoints |
| mono/src/api/user/model.rs | Adds ToSchema derives and converts timestamp fields to i64 format |
| mono/src/api/mr/mod.rs | Creates new MergeStatus enum with conversion from database enum |
| mono/src/api/conversation/mod.rs | Creates new ConvType enum with conversion from database enum |
| jupiter/src/lfs_storage/mod.rs | Updates storage type usage to new enum |
| jupiter/callisto/src/sea_orm_active_enums.rs | Removes ToSchema derives from database enums |
| common/src/config.rs | Adds new StorageType enum with conversion methods |
| ceres/src/lfs/lfs_structs.rs | Updates storage type comparison logic |
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.