Update API Documentation and Swagger Configuration for Opplens
- Changed API title and version in Swagger documentation from "Tender Management API" to "Opplens API" with version 1.0.0. - Updated contact information and terms of service URLs to reflect the new branding for Opplens. - Added a new "Notification" tag in the Swagger documentation for public notification management operations. - Adjusted the Swagger endpoint path for documentation to improve routing consistency. - Enhanced response structure in notification handlers to include metadata, improving clarity in API responses.
This commit is contained in:
@@ -124,7 +124,7 @@ func InitHTTPServer(conf Config, log logger.Logger) *echo.Echo {
|
||||
e.GET("/admin/v1/health", healthHandler)
|
||||
|
||||
// Add Swagger documentation endpoint
|
||||
e.GET("/swagger/*", echoSwagger.WrapHandler)
|
||||
e.GET("/swagger*", echoSwagger.WrapHandler)
|
||||
|
||||
log.Info("HTTP server initialized successfully", map[string]interface{}{
|
||||
"middleware": []string{"recover", "request_id", "logger", "cors", "custom_logging"},
|
||||
|
||||
Reference in New Issue
Block a user