Refactor API documentation and update endpoint tags for clarity
- Updated README.md to reflect changes in endpoint categories, renaming "Customers-Admin" to "Admin-Customers" and "Companies-Admin" to "Admin-Companies" for consistency. - Modified health check endpoint tags from "Health" to "Admin-Health" to align with the new naming convention. - Adjusted Swagger documentation to replace outdated tags and ensure accurate representation of the API structure. - Enhanced user and customer handler documentation to reflect the new "Admin-Authorization" and "Admin-Users" tags, improving clarity in the API documentation.
This commit is contained in:
+7
-10
@@ -20,26 +20,23 @@ package main
|
||||
// @name Authorization
|
||||
// @description Type "Bearer" followed by a space and JWT token. Example: "Bearer eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9..."
|
||||
|
||||
// @tag.name Health
|
||||
// @tag.name Admin-Health
|
||||
// @tag.description System health check operations for monitoring application status and dependencies
|
||||
|
||||
// @tag.name Authorization
|
||||
// @tag.name Admin-Authorization
|
||||
// @tag.description User authentication and authorization operations including login, logout, token refresh, and password management for web panel administration
|
||||
|
||||
// @tag.name Users
|
||||
// @tag.name Admin-Users
|
||||
// @tag.description Administrative user management operations including CRUD operations, role management, status updates, and profile management for web panel administrators
|
||||
|
||||
// @tag.name Customers-Admin
|
||||
// @tag.name Admin-Customers
|
||||
// @tag.description Administrative customer management operations for web panel including CRUD operations, company assignment, verification, status management, and comprehensive filtering with pagination
|
||||
|
||||
// @tag.name Customers-Authorization
|
||||
// @tag.description Customer authentication and authorization operations for mobile application including login, logout, token refresh, and profile access
|
||||
|
||||
// @tag.name Companies-Admin
|
||||
// @tag.name Admin-Companies
|
||||
// @tag.description Administrative company management operations for web panel including CRUD operations, tag management, verification, status updates, comprehensive search and filtering, and statistical reporting
|
||||
|
||||
// @tag.name Companies-Mobile
|
||||
// @tag.description Company-related operations for mobile application including company lookup, search, and basic information retrieval
|
||||
// @tag.name Authorization
|
||||
// @tag.description Customer authentication and authorization operations for mobile application including login, logout, token refresh, and profile access
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
||||
Reference in New Issue
Block a user