From 2dc026ea0eade9f3a119418daca79e21b148379b Mon Sep 17 00:00:00 2001
From: Jared Balkman <jared.balkman@wisc.edu>
Date: Mon, 8 May 2023 15:25:25 -0500
Subject: [PATCH] Update docs/AssetWorks-validate-funding.json

---
 docs/AssetWorks-validate-funding.json | 85 +--------------------------
 1 file changed, 3 insertions(+), 82 deletions(-)

diff --git a/docs/AssetWorks-validate-funding.json b/docs/AssetWorks-validate-funding.json
index fda8aa8..1bbbac4 100644
--- a/docs/AssetWorks-validate-funding.json
+++ b/docs/AssetWorks-validate-funding.json
@@ -18,17 +18,9 @@
         "summary" : null,
         "description" : null,
         "operationId" : "validate-funding",
-        "produces" : [ "application/vnd.api+json" ],
-        "consumes" : [ "application/vnd.api+json" ],
-        "parameters" : [ {
-          "name" : "body",
-          "in" : "body",
-          "description" : null,
-          "required" : false,
-          "schema" : {
-            "$ref" : "#/definitions/validate-funding_Request##body"
-          }
-        } ],
+        "produces" : [ "application/json" ],
+        "consumes" : [ "application/x-www-form-urlencoded" ],
+        "parameters" : [ ],
         "responses" : {
           "200" : {
             "description" : "successful operation",
@@ -86,77 +78,6 @@
           "$ref" : "#/definitions/validate-funding##data"
         }
       }
-    },
-    "validate-funding_Request##body##data##attributes##lines" : {
-      "properties" : {
-        "costCenter" : {
-          "type" : "string"
-        },
-        "fund" : {
-          "type" : "string"
-        },
-        "functionId" : {
-          "type" : "string"
-        },
-        "ledgerAccount" : {
-          "type" : "string"
-        },
-        "projectType" : {
-          "type" : "string"
-        },
-        "project" : {
-          "type" : "string"
-        },
-        "program" : {
-          "type" : "string"
-        },
-        "spendCategory" : {
-          "type" : "string"
-        }
-      }
-    },
-    "validate-funding_Request##body##data##attributes" : {
-      "properties" : {
-        "company" : {
-          "type" : "string"
-        },
-        "accountingDate" : {
-          "type" : "string"
-        },
-        "ledger" : {
-          "type" : "string"
-        },
-        "lines" : {
-          "type" : "array",
-          "items" : {
-            "$ref" : "#/definitions/validate-funding_Request##body##data##attributes##lines"
-          }
-        }
-      }
-    },
-    "validate-funding_Request##body##data" : {
-      "properties" : {
-        "type" : {
-          "type" : "string"
-        },
-        "attributes" : {
-          "$ref" : "#/definitions/validate-funding_Request##body##data##attributes"
-        }
-      }
-    },
-    "validate-funding_Request##body" : {
-      "properties" : {
-        "data" : {
-          "$ref" : "#/definitions/validate-funding_Request##body##data"
-        }
-      }
-    },
-    "validate-funding_Request" : {
-      "properties" : {
-        "body" : {
-          "$ref" : "#/definitions/validate-funding_Request##body"
-        }
-      }
     }
   }
 }
-- 
GitLab