You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fix NPM run commands, those are deprecated, use run-script instead.
Add advanced usage examples for scopes and endpoints.
Fixed SDK naming.
Bump Version
Copy file name to clipboardExpand all lines: src/dataGateway/TypeScript/README.md
+29-2Lines changed: 29 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -35,6 +35,33 @@ for (const correlationRecord of results) {
35
35
}
36
36
```
37
37
38
+
### Advanced Usage
39
+
40
+
You can optionally configure the SDK client with a custom base URL, including support for it being nested deep in a L7 load balancer:
41
+
42
+
```TypeScript
43
+
/** Custom host and endpoint base to as an example for something behind a layer 7 load balancer, E.g. Azure App Gateway or Azure API Gateway. If in debug mode, run against localhost. */
Copy file name to clipboardExpand all lines: src/shield/TypeScript/README.md
+38-8Lines changed: 38 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
# SHI Data Gateway - TypeScript SDK
1
+
# SHIELD - TypeScript SDK
2
2
3
3
This SDK provides a convenient TypeScript client for interacting with the SHI SHIELD service. It is automatically generated from the OpenAPI specification located at [`SHIELD.json`](../../../specs/SHIELD.json) using [Kiota](https://github.com/microsoft/kiota).
4
4
@@ -20,14 +20,18 @@ Here's a basic example of how to use the SDK:
* Configured client for SHIELD that can make authenticated web requests against SDG.
31
+
*
32
+
* The third param, the scope is the `Application ID` of the `SHIELD - End User Login` app registration. This can also be found on SHIELD's `/Api/Auth/Id` endpoint.
@@ -38,6 +42,32 @@ if (results?.running === true) {
38
42
}
39
43
```
40
44
45
+
### Advanced Usage
46
+
47
+
You can optionally configure the SDK client with a custom base URL, including support for it being nested deep in a L7 load balancer:
48
+
49
+
```TypeScript
50
+
/** Custom host and endpoint base to as an example for something behind a layer 7 load balancer, E.g. Azure App Gateway or Azure API Gateway. If in debug mode, run against localhost. */
0 commit comments