@abapify/adt-server-client 0.4.33 → 0.4.36
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 +37 -0
- package/package.json +1 -1
package/README.md
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
# @abapify/adt-server-client
|
|
2
|
+
|
|
3
|
+
[](https://www.npmjs.com/package/@abapify/adt-server-client)
|
|
4
|
+
[](https://github.com/abapify/adt-cli/blob/main/LICENSE)
|
|
5
|
+
|
|
6
|
+
Generated client for @abapify/adt-server OpenAPI.
|
|
7
|
+
|
|
8
|
+
## Install
|
|
9
|
+
|
|
10
|
+
```bash
|
|
11
|
+
npm install @abapify/adt-server-client
|
|
12
|
+
```
|
|
13
|
+
|
|
14
|
+
## Usage
|
|
15
|
+
|
|
16
|
+
```ts
|
|
17
|
+
import { createAdtServerClient } from '@abapify/adt-server-client';
|
|
18
|
+
|
|
19
|
+
const api = createAdtServerClient({
|
|
20
|
+
baseUrl: 'http://127.0.0.1:3002',
|
|
21
|
+
headers: authHeaders, // e.g. your sidecar REST credential
|
|
22
|
+
});
|
|
23
|
+
```
|
|
24
|
+
|
|
25
|
+
## Features
|
|
26
|
+
|
|
27
|
+
- Typed client generated from the `@abapify/adt-server` OpenAPI document
|
|
28
|
+
- Uses `fetch` — works in Node, Bun, and browsers
|
|
29
|
+
- Abort-signal support per request
|
|
30
|
+
|
|
31
|
+
## Documentation
|
|
32
|
+
|
|
33
|
+
**[adt-cli.netlify.app/sdk/packages/adt-server-client](https://adt-cli.netlify.app/sdk/packages/adt-server-client)**
|
|
34
|
+
|
|
35
|
+
---
|
|
36
|
+
|
|
37
|
+
Part of [**abapify**](https://github.com/abapify/adt-cli) — open, typed tooling for SAP ABAP Development Tools (ADT): CLI, MCP server, and SDK.
|