Using the build toolkit to generate artifacts from the Swagger file
Run the build toolkit command line interface (CLI) to generate artifacts for the API requester.
About this task
zosConnect-2.0 Applies to zosConnect-2.0.
For this scenario, we use the CLI of the build toolkit to generate all the artifacts to enable the client IMS or z/OS® application to call the contacts API. These artifacts include an API requester archive (.ara file) and a summary report for the catalog manager API, and API information files, data structures, and logs for each operation in the API. In this task, you will use the build toolkit to create these artifacts from the phonebook.json Swagger file that is obtained in the prerequisite task. For more information, see Using the build toolkit to generate artifacts for an API requester.
Procedure
Results
Several artifacts for the API requester are created in the directories as you have configured.
For each API an API requester archive (.ara) file and a summary report are
generated. For each API operation, an API information file, request data structures, and response data structures are generated. The following table shows
the directory structure (/ data set) and contents created:
| Path (/data set) | Contents |
|---|---|
| ./apiReqScenario/ |
|
| ./apiReqScenario/archives |
|
| ./apiReqScenario/logs | Logs for each operation defined in the contacts.json file. |
TEST.PHBK.COBOL |
|