From 5cbbd22a9a23c0a5ab8b2b2672ad3f700c20355d Mon Sep 17 00:00:00 2001 From: Harsha Gummadavelli <hvardhan@wisc.edu> Date: Sun, 23 Feb 2025 14:35:56 -0600 Subject: [PATCH] Update getcostcenter.json --- .../GetCostCenter/getcostcenter.json | 57 +++++++------------ 1 file changed, 20 insertions(+), 37 deletions(-) diff --git a/ASP-IICS-Team/GetCostCenter/getcostcenter.json b/ASP-IICS-Team/GetCostCenter/getcostcenter.json index 23f6bbb..d130464 100644 --- a/ASP-IICS-Team/GetCostCenter/getcostcenter.json +++ b/ASP-IICS-Team/GetCostCenter/getcostcenter.json @@ -14,32 +14,18 @@ "paths" : { "/costCenters" : { "get" : { - "tags" : [ "Get_Costcenters" ], + "tags" : [ "getcostcenter" ], "summary" : null, "description" : null, - "operationId" : "Get_Costcenters", + "operationId" : "getcostcenter", "produces" : [ "application/json" ], "consumes" : [ "application/json" ], - "parameters" : [ { - "name" : "page[number]", - "in" : "query", - "description" : null, - "required" : false, - "type" : "number", - "format" : "int32" - }, { - "name" : "page[size]", - "in" : "query", - "description" : null, - "required" : false, - "type" : "number", - "format" : "int32" - } ], + "parameters" : [ ], "responses" : { "200" : { "description" : "successful operation", "schema" : { - "$ref" : "#/definitions/Get_Costcenters" + "$ref" : "#/definitions/getcostcenter" } } } @@ -47,7 +33,7 @@ } }, "definitions" : { - "Get_Costcenters##data##attributes" : { + "getcostcenter##data##attributes" : { "properties" : { "active" : { "type" : "boolean" @@ -57,46 +43,43 @@ }, "name" : { "type" : "string" - } - "parentHierarchyId" : { - "type" : "string" } } }, - "Get_Costcenters##data##links" : { + "getcostcenter##data##links" : { "properties" : { "self" : { "type" : "string" } } }, - "Get_Costcenters##data##meta" : { + "getcostcenter##data##meta" : { "properties" : { - "dttmLoaded" : { + "dttm_loaded" : { "type" : "string" } } }, - "Get_Costcenters##data" : { + "getcostcenter##data" : { "properties" : { "attributes" : { - "$ref" : "#/definitions/Get_Costcenters##data##attributes" + "$ref" : "#/definitions/getcostcenter##data##attributes" }, "id" : { "type" : "string" }, "links" : { - "$ref" : "#/definitions/Get_Costcenters##data##links" + "$ref" : "#/definitions/getcostcenter##data##links" }, "meta" : { - "$ref" : "#/definitions/Get_Costcenters##data##meta" + "$ref" : "#/definitions/getcostcenter##data##meta" }, "type" : { "type" : "string" } } }, - "Get_Costcenters##links" : { + "getcostcenter##links" : { "properties" : { "first" : { "type" : "string" @@ -115,13 +98,13 @@ } } }, - "Get_Costcenters##meta" : { + "getcostcenter##meta" : { "properties" : { - "page[number]" : { + "pageNumber" : { "type" : "number", "format" : "int32" }, - "page[size]" : { + "pageSize" : { "type" : "number", "format" : "int32" }, @@ -135,19 +118,19 @@ } } }, - "Get_Costcenters" : { + "getcostcenter" : { "properties" : { "data" : { "type" : "array", "items" : { - "$ref" : "#/definitions/Get_Costcenters##data" + "$ref" : "#/definitions/getcostcenter##data" } }, "links" : { - "$ref" : "#/definitions/Get_Costcenters##links" + "$ref" : "#/definitions/getcostcenter##links" }, "meta" : { - "$ref" : "#/definitions/Get_Costcenters##meta" + "$ref" : "#/definitions/getcostcenter##meta" } } } -- GitLab