Better test script and api changes

This commit is contained in:
2026-06-11 08:30:02 +02:00
parent 41316a0686
commit a3f19462c3
5 changed files with 31 additions and 6 deletions
+6 -6
View File
@@ -1,14 +1,14 @@
version: "1.0"
project: "legacy-finance-api"
project: "legacy-student-api"
endpoints:
- path: "/accounts/{id}"
- path: "/students/{id}"
method: "GET"
cobol_source: "src/fetch_account.cbl"
procedure: "GET-ACCOUNT-DATA"
cobol_source: "src/fetch_student.cbl"
procedure: "FETCH-STUDENT"
arguments:
- name: "id"
target: "LK-ID"
type: "PIC X(10)"
type: "PIC 9(5)"
source: "path"
response_copybook: "src/structures/account_res.cpy"
response_copybook: "src/copybooks/student_res.cpy"