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:
n.nakhostin
2025-08-12 10:02:47 +03:30
parent e3ee3d64ce
commit 047850cca3
5 changed files with 2 additions and 184 deletions
-1
View File
@@ -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)
}