@harnessio/react-har-service-client 0.0.7 → 0.0.8
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
|
|
7
7
|
**OpenAPI + TypeScript -> OATS**
|
|
8
8
|
|
|
9
|
-
This React API client will store a collection of Harness
|
|
9
|
+
This React API client will store a collection of Harness HAR Service APIs and Interfaces contracts generated from Open API Spec using `OATS CLI` internally.
|
|
10
10
|
APIs are using hooks from `@tanstack/react-query`
|
|
11
11
|
|
|
12
12
|
## Steps To Generate API Client build as dist folder
|
|
@@ -30,7 +30,7 @@ Example:
|
|
|
30
30
|
|
|
31
31
|
## Versioning
|
|
32
32
|
|
|
33
|
-

|
|
34
34
|
|
|
35
35
|
Once development phase is completed, this repo will have changes and versioning driven by API spec only.
|
|
36
36
|
|
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
import { useQuery } from '@tanstack/react-query';
|
|
5
5
|
import { fetcher } from '../../../../fetcher/index.js';
|
|
6
6
|
export function getArtifactVersionSummary(props) {
|
|
7
|
-
return fetcher(Object.assign({ url: `/artifacts/versions/
|
|
7
|
+
return fetcher(Object.assign({ url: `/artifacts/versions/summary`, method: 'GET' }, props));
|
|
8
8
|
}
|
|
9
9
|
/**
|
|
10
10
|
* Get Artifact Version Summary.
|