This React API client stores a collection of Harness API Testing Service APIs and interface contracts generated from the OpenAPI spec using OATS CLI internally.
APIs use hooks from @tanstack/react-query.
The spec (swagger.json) is generated by the API Testing server (tsoa) and copied from
services/api-testing/server/src/swagger.json. Re-copy it and run yarn generate when the server contract changes.
Steps To Generate API Client build as dist folder
yarn build
For NextGen UI adoption : APITestingServiceAPIClient should be initialized
Before using the API Client, it must be initialized with the required ClientCallbacks.