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:
@@ -3914,7 +3914,7 @@ const docTemplate = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Customers-Mobile"
|
||||
"Customers-Authorization"
|
||||
],
|
||||
"summary": "Customer logout",
|
||||
"responses": {
|
||||
@@ -3954,7 +3954,7 @@ const docTemplate = `{
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Customers-Mobile"
|
||||
"Customers-Authorization"
|
||||
],
|
||||
"summary": "Get customer profile",
|
||||
"responses": {
|
||||
|
||||
@@ -3907,7 +3907,7 @@
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Customers-Mobile"
|
||||
"Customers-Authorization"
|
||||
],
|
||||
"summary": "Customer logout",
|
||||
"responses": {
|
||||
@@ -3947,7 +3947,7 @@
|
||||
"application/json"
|
||||
],
|
||||
"tags": [
|
||||
"Customers-Mobile"
|
||||
"Customers-Authorization"
|
||||
],
|
||||
"summary": "Get customer profile",
|
||||
"responses": {
|
||||
|
||||
@@ -3413,7 +3413,7 @@ paths:
|
||||
- BearerAuth: []
|
||||
summary: Customer logout
|
||||
tags:
|
||||
- Customers-Mobile
|
||||
- Customers-Authorization
|
||||
/api/v1/profile:
|
||||
get:
|
||||
consumes:
|
||||
@@ -3447,7 +3447,7 @@ paths:
|
||||
- BearerAuth: []
|
||||
summary: Get customer profile
|
||||
tags:
|
||||
- Customers-Mobile
|
||||
- Customers-Authorization
|
||||
/api/v1/refresh-token:
|
||||
post:
|
||||
consumes:
|
||||
|
||||
Reference in New Issue
Block a user