Better test script and api changes
This commit is contained in:
@@ -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"
|
||||
Reference in New Issue
Block a user