Operational Endpoints for Admin, Products, Assignments, Location, Vendor, Venue completed. Geofence Testing PEnding
This commit is contained in:
@@ -226,6 +226,40 @@ export default {
|
||||
},
|
||||
},
|
||||
},
|
||||
"/admin/role/{id}": {
|
||||
patch: {
|
||||
tags: ["Admin"],
|
||||
summary: "Edit New Role",
|
||||
parameters: [
|
||||
{
|
||||
in: "path",
|
||||
name: "id",
|
||||
},
|
||||
],
|
||||
requestBody: {
|
||||
required: true,
|
||||
content: {
|
||||
"application/json": {
|
||||
schema: {
|
||||
type: "object",
|
||||
properties: {
|
||||
name: {
|
||||
type: "string",
|
||||
required: true,
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
responses: {
|
||||
200: {
|
||||
description: "OK",
|
||||
content: {},
|
||||
},
|
||||
},
|
||||
},
|
||||
},
|
||||
"/admin/employee/{id}": {
|
||||
get: {
|
||||
tags: ["Admin"],
|
||||
|
||||
Reference in New Issue
Block a user