@harnessio/react-fme-service-client
v0.1.0
Published
Harness FME Service APIs integrated with react hooks
Maintainers
Keywords
Readme
React FME Service Client
OpenAPI -> OA
TypeScript -> TS
OpenAPI + TypeScript -> OATS
This React API client will store a collection of Harness FME Service APIs.
APIs are using hooks from @tanstack/react-query
Steps To Generate API Client build as dist folder
yarn buildFor NextGen UI adoption : FMEServiceAPIClient should be initialized
Before using API Client, it must be initilaized with required ClientCallbacks.
Example:
new FMEServiceAPIClient({
getHeaders: () => {
return { token: SessionToken.getToken(), 'Harness-Account': accountId }
}}License
MIT. Copyright(c) Harness Inc
