-
Notifications
You must be signed in to change notification settings - Fork 6
docs: update the DocFX documentation #55
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: main
Are you sure you want to change the base?
Conversation
… all related namespaces
…ding unique id in the filename
…ve generated token to redis
Caution Review failedFailed to post review comments. WalkthroughThis update migrates the project from "DocumentService" to "OsmoDoc," restructuring namespaces, solution/project files, and documentation. New features include Redis-based JWT token management, enhanced PDF and Word document generation with support for EJS templates and images, expanded configuration, and improved API controllers. Documentation and environment setup are fully revised to match the new architecture. Changes
Sequence Diagram(s)sequenceDiagram
participant Client
participant LoginController
participant AuthenticationHelper
participant RedisTokenStoreService
Client->>LoginController: POST /api/login (LoginRequestDTO)
LoginController->>AuthenticationHelper: Generate JWT
AuthenticationHelper-->>LoginController: JWT token
LoginController->>RedisTokenStoreService: StoreTokenAsync(token, email)
RedisTokenStoreService-->>LoginController: (ack)
LoginController-->>Client: BaseResponse (token)
Client->>LoginController: POST /api/revoke (RevokeTokenRequestDTO)
LoginController->>RedisTokenStoreService: RevokeTokenAsync(token)
RedisTokenStoreService-->>LoginController: (ack)
LoginController-->>Client: BaseResponse (success)
sequenceDiagram
participant Client
participant PdfController
participant PdfDocumentGenerator
Client->>PdfController: POST /api/pdf/GeneratePdfUsingHtml (PdfGenerationRequestDTO)
PdfController->>PdfDocumentGenerator: GeneratePdf(templatePath, metaDataList, outputFilePath, false, null)
PdfDocumentGenerator-->>PdfController: (PDF generated)
PdfController-->>Client: BaseResponse (Base64 PDF)
sequenceDiagram
participant Client
participant WordController
participant WordDocumentGenerator
Client->>WordController: POST /api/word/GenerateWordDocument (WordGenerationRequestDTO)
WordController->>WordDocumentGenerator: GenerateDocumentByTemplate(templateFilePath, documentData, outputFilePath)
WordDocumentGenerator-->>WordController: (Word doc generated)
WordController-->>Client: BaseResponse (Base64 Word)
Poem
✨ Finishing Touches
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (Invoked using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
Task Link
REST-1647
Description
Summary by CodeRabbit
New Features
Improvements
Refactor
Documentation
Chores