From e9d4775d314a85aaefbe53f4ad959f1903a647f1 Mon Sep 17 00:00:00 2001 From: Simon Oberzier Date: Wed, 10 Jun 2026 08:53:54 +0200 Subject: [PATCH] Initial commit --- Dockerfile | 0 api.yaml | 13 +++++++++++++ code/main.go | 0 src/fetch_account.cbl | 0 src/structures/account_res.cpy | 0 5 files changed, 13 insertions(+) create mode 100644 Dockerfile create mode 100644 api.yaml create mode 100644 code/main.go create mode 100644 src/fetch_account.cbl create mode 100644 src/structures/account_res.cpy 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