This React API client stores a collection of Harness Platform Streaming Service (log/event streaming destinations, PL-75180) APIs and interface contracts generated from the Open API Spec using OATS CLI internally.
APIs are using hooks from @tanstack/react-query
The OpenAPI spec source of truth is platform-service/modules/platform-streaming-service/contracts/openapi/v1/openapi.yaml in harness-core.
Steps To Generate API Client build as dist folder
yarn build
For NextGen UI adoption : HarnessReactAPIClient should be initialized
Before using API Client, it must be initialized with required ClientCallbacks.