mirror of
https://github.com/freedbygrace/ActiveDirectoryManager.git
synced 2026-07-26 11:59:14 +00:00
Remove dashboard endpoints from Swagger documentation.
Replit-Commit-Author: Agent Replit-Commit-Session-Id: 705f2157-ef97-4fbd-89e4-8c7f2ecaea90 Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/7ed01c5f-a82d-405a-b728-b2e3d127c60c/c4c87ced-ca60-407c-ab0b-e68ce3bda8cb.jpg
This commit is contained in:
+5
-75
@@ -4947,21 +4947,7 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/group-dashboard-data:
|
||||
* get:
|
||||
* summary: Get group data for dashboard visualizations
|
||||
* tags: [Dashboard]
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* - bearerAuth: []
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Group data for dashboard
|
||||
* 401:
|
||||
* $ref: '#/components/responses/UnauthorizedError'
|
||||
*/
|
||||
// Removed from Swagger documentation - Dashboard endpoint
|
||||
app.get("/api/group-dashboard-data", requireAuth({ allowApiToken: true }), async (req, res, next) => {
|
||||
try {
|
||||
// Get data from the first available LDAP connection
|
||||
@@ -4986,21 +4972,7 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/ou-dashboard-data:
|
||||
* get:
|
||||
* summary: Get Organizational Unit data for dashboard visualizations
|
||||
* tags: [Dashboard]
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* - bearerAuth: []
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Organizational Unit data for dashboard
|
||||
* 401:
|
||||
* $ref: '#/components/responses/UnauthorizedError'
|
||||
*/
|
||||
// Removed from Swagger documentation - Dashboard endpoint
|
||||
app.get("/api/ou-dashboard-data", requireAuth({ allowApiToken: true }), async (req, res, next) => {
|
||||
try {
|
||||
// Get data from the first available LDAP connection
|
||||
@@ -5025,21 +4997,7 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/domain-dashboard-data:
|
||||
* get:
|
||||
* summary: Get domain data for dashboard visualizations
|
||||
* tags: [Dashboard]
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* - bearerAuth: []
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Domain data for dashboard
|
||||
* 401:
|
||||
* $ref: '#/components/responses/UnauthorizedError'
|
||||
*/
|
||||
// Removed from Swagger documentation - Dashboard endpoint
|
||||
app.get("/api/domain-dashboard-data", requireAuth({ allowApiToken: true }), async (req, res, next) => {
|
||||
try {
|
||||
// Get data from the first available LDAP connection
|
||||
@@ -5064,21 +5022,7 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/site-dashboard-data:
|
||||
* get:
|
||||
* summary: Get site data for dashboard visualizations
|
||||
* tags: [Dashboard]
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* - bearerAuth: []
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Site data for dashboard
|
||||
* 401:
|
||||
* $ref: '#/components/responses/UnauthorizedError'
|
||||
*/
|
||||
// Removed from Swagger documentation - Dashboard endpoint
|
||||
app.get("/api/site-dashboard-data", requireAuth({ allowApiToken: true }), async (req, res, next) => {
|
||||
try {
|
||||
// Get data from the first available LDAP connection
|
||||
@@ -5103,21 +5047,7 @@ export async function registerRoutes(app: Express): Promise<Server> {
|
||||
}
|
||||
});
|
||||
|
||||
/**
|
||||
* @swagger
|
||||
* /api/subnet-dashboard-data:
|
||||
* get:
|
||||
* summary: Get subnet data for dashboard visualizations
|
||||
* tags: [Dashboard]
|
||||
* security:
|
||||
* - cookieAuth: []
|
||||
* - bearerAuth: []
|
||||
* responses:
|
||||
* 200:
|
||||
* description: Subnet data for dashboard
|
||||
* 401:
|
||||
* $ref: '#/components/responses/UnauthorizedError'
|
||||
*/
|
||||
// Removed from Swagger documentation - Dashboard endpoint
|
||||
app.get("/api/subnet-dashboard-data", requireAuth({ allowApiToken: true }), async (req, res, next) => {
|
||||
try {
|
||||
// Get data from the first available LDAP connection
|
||||
|
||||
Reference in New Issue
Block a user