Update API documentation to reflect customer authorization changes

- Changed tags from "Customers-Mobile" to "Customers-Authorization" in Swagger documentation for customer logout and profile retrieval endpoints.
- Updated the Company entity to replace CustomerID with OwnerCustomerID to better represent ownership.
- Removed obsolete customer assignment methods and related forms from the company domain, streamlining the codebase.
- Adjusted customer forms to include CompanyID instead of CompanyName for better consistency in customer management.
- Enhanced Swagger documentation to accurately reflect the new structure and authorization details for customer-related endpoints.
This commit is contained in:
n.nakhostin
2025-08-11 16:24:28 +03:30
parent 1e998b365e
commit 566fa07574
12 changed files with 41 additions and 270 deletions
+2 -2
View File
@@ -672,7 +672,7 @@ func (h *Handler) RefreshToken(c echo.Context) error {
// GetProfile retrieves customer profile information (Mobile)
// @Summary Get customer profile
// @Description Retrieve current customer profile information
// @Tags Customers-Mobile
// @Tags Customers-Authorization
// @Accept json
// @Produce json
// @Security BearerAuth
@@ -702,7 +702,7 @@ func (h *Handler) GetProfile(c echo.Context) error {
// Logout handles customer logout (Mobile)
// @Summary Customer logout
// @Description Logout customer and invalidate access token
// @Tags Customers-Mobile
// @Tags Customers-Authorization
// @Accept json
// @Produce json
// @Security BearerAuth