Remove deprecated /api/v1/profile/with-companies endpoint and update related documentation
- Deleted the `/api/v1/profile/with-companies` endpoint from the API documentation, Swagger files, and router to streamline the API structure. - Updated the `GetProfile` handler to utilize the `GetProfileWithCompanies` service method for improved data retrieval. - Enhanced overall API documentation consistency by removing obsolete references and ensuring accurate representation of the current API structure.
This commit is contained in:
@@ -100,7 +100,6 @@ func RegisterPublicRoutes(e *echo.Echo, customerHandler *customer.Handler) {
|
||||
profileGP := customerGP.Group("")
|
||||
profileGP.Use(customerHandler.AuthMiddleware())
|
||||
profileGP.GET("", customerHandler.GetProfile)
|
||||
profileGP.GET("/with-companies", customerHandler.GetProfileWithCompanies)
|
||||
profileGP.DELETE("/logout", customerHandler.Logout)
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user