commit e9d4775d314a85aaefbe53f4ad959f1903a647f1 Author: Simon Oberzier Date: Wed Jun 10 08:53:54 2026 +0200 Initial commit diff --git a/Dockerfile b/Dockerfile new file mode 100644 index 0000000..e69de29 diff --git a/api.yaml b/api.yaml new file mode 100644 index 0000000..5b13eed --- /dev/null +++ b/api.yaml @@ -0,0 +1,13 @@ +version: "1.0" +project: "legacy-finance-api" + +endpoints: + - path: "/accounts/{id}" + method: "GET" + cobol_source: "src/fetch_account.cbl" + procedure: "GET-ACCOUNT-DATA" + arguments: + - name: "id" + type: "PIC X(10)" + source: "path" + response_copybook: "src/structures/account_res.cpy" \ No newline at end of file diff --git a/code/main.go b/code/main.go new file mode 100644 index 0000000..e69de29 diff --git a/src/fetch_account.cbl b/src/fetch_account.cbl new file mode 100644 index 0000000..e69de29 diff --git a/src/structures/account_res.cpy b/src/structures/account_res.cpy new file mode 100644 index 0000000..e69de29