Add Feedback Retrieval Endpoint for Tender ID
- Introduced a new API endpoint to retrieve feedback details by tender ID, enhancing the feedback management system for public users. - Updated Swagger documentation to accurately reflect the new endpoint, including detailed descriptions, parameters, and response formats. - Implemented necessary service and repository methods to support the new functionality, ensuring adherence to Clean Architecture principles. - Modified existing routes to include the new feedback retrieval functionality, maintaining a clear separation of concerns in the handler layer. - Enhanced feedback types to include 'unlike' and 'undislike' options for better user interaction.
This commit is contained in:
@@ -10,8 +10,10 @@ import (
|
||||
type FeedbackType string
|
||||
|
||||
const (
|
||||
FeedbackTypeLike FeedbackType = "like"
|
||||
FeedbackTypeDislike FeedbackType = "dislike"
|
||||
FeedbackTypeLike FeedbackType = "like"
|
||||
FeedbackTypeDislike FeedbackType = "dislike"
|
||||
FeedbackTypeUnLike FeedbackType = "unlike"
|
||||
FeedbackTypeUnDislike FeedbackType = "undislike"
|
||||
)
|
||||
|
||||
// Feedback represents feedback given to a tender by a user
|
||||
|
||||
Reference in New Issue
Block a user