location controller updated with heading and created new models and controllers for remaining modules

This commit is contained in:
Shibi Chakkaravarthy
2026-05-04 20:57:03 +05:30
parent 1245e09111
commit 54d9508dc8
31 changed files with 2140 additions and 96 deletions
+56 -16
View File
@@ -60,10 +60,10 @@ export default {
},
},
},
"/admin/designations": {
"/admin/metadata": {
get: {
tags: ["Admin"],
summary: "Get All Designations",
summary: "Get All Metadata",
responses: {
200: {
description: "OK",
@@ -72,22 +72,10 @@ export default {
},
},
},
"/admin/departments": {
"/admin/employees": {
get: {
tags: ["Admin"],
summary: "Get All Departments",
responses: {
200: {
description: "OK",
content: {},
},
},
},
},
"/admin/roles": {
get: {
tags: ["Admin"],
summary: "Get All Roles",
summary: "Get All Employees",
responses: {
200: {
description: "OK",
@@ -238,4 +226,56 @@ export default {
},
},
},
"/admin/employee/{id}": {
get: {
tags: ["Admin"],
summary: "Get Employee Details by ID",
parameters: [
{
in: "path",
name: "id",
required: true,
schema: {
type: "string",
},
},
],
responses: {
200: {
description: "OK",
content: {},
},
},
},
},
"/admin/employee/{user}/locations": {
get: {
tags: ["Admin"],
summary: "Get Employee Details by ID",
parameters: [
{
in: "path",
name: "user",
required: true,
schema: {
type: "string",
},
},
{
in: "query",
name: "date",
required: true,
schema: {
type: "string",
},
},
],
responses: {
200: {
description: "OK",
content: {},
},
},
},
},
};